From ff8e33beb188388d6fef79275c23fcb84b3e4684 Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Fri, 8 Mar 2024 18:26:19 -0800 Subject: [PATCH] Add env var docs --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1cb9edf2..12765647 100644 --- a/README.md +++ b/README.md @@ -370,6 +370,13 @@ add_routes( If you are using LangSmith, you can also set `enable_feedback_endpoint=True` on your route to enable thumbs-up/thumbs-down buttons after each message, and `enable_public_trace_link_endpoint=True` to add a button that creates a public traces for runs. +Note that you will also need to set the following environment variables: + +```bash +export LANGCHAIN_TRACING_V2="true" +export LANGCHAIN_PROJECT="YOUR_PROJECT_NAME" +export LANGCHAIN_API_KEY="YOUR_API_KEY" +``` Here's an example with the above two options turned on: