Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.16 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.16 KB

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: