Vlttawatsukpimai / langchainjs-0.1-guides

Notebooks showing off LangChain.js v0.1.0 features.com

Home Page:https://js.langchain.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

langchainjs-0.1-guides

Heavily inspired by Harrison Chase's LangChain PY 0.1.0 guide repo

These notebooks show off different functionality associated with LangChain.js 0.1.0.

To see the LangChain.js documentation, click here.

Setup

To setup, set required environment variables. We will use OpenAI for our language model, and Tavily for our search provider.

export OPENAI_API_KEY=...
export TAVILY_API_KEY=...

We will also use LangSmith for observability:

export LANGCHAIN_TRACING_V2="true"
export LANGCHAIN_API_KEY=...
export LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"

Next, you'll need Deno installed, and their experimental Jupyter notebook support. Follow the instructions here.

Notebooks

The following notebooks are provided:

About

Notebooks showing off LangChain.js v0.1.0 features.com

https://js.langchain.com

License:MIT License


Languages

Language:Jupyter Notebook 100.0%