From cd7169fbe72f0df3195f016010fad01f55d8e28c Mon Sep 17 00:00:00 2001 From: Harrison Chase Date: Sun, 7 Jan 2024 22:10:59 -0800 Subject: [PATCH] cr --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 35e47d591..2599d6e82 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,22 @@ We will also want to install some LangChain packages, as well as [Tavily](https: ```shell pip install -U langchain langchain_openai langchainhub tavily-python ``` + +We also need to export some environment variables needed for our agent. + +```shell +export OPENAI_API_KEY=sk-... +export TAVILY_API_KEY=tvly-... +``` + +Optionally, we can set up [LangSmith](https://docs.smith.langchain.com/) for best-in-class observability. + +```shell +export LANGCHAIN_TRACING_V2="true" +export LANGCHAIN_API_KEY=ls__... +export LANGCHAIN_ENDPOINT=https://api.langchain.plus +``` + ### Define the LangChain Agent This is the LangChain agent.