diff --git a/api/ask_astro/config.py b/api/ask_astro/config.py index e505a562..cebcae82 100644 --- a/api/ask_astro/config.py +++ b/api/ask_astro/config.py @@ -46,6 +46,9 @@ class LangSmithConfig: """Contains the config variables for the Langsmith API.""" project_name = os.environ.get("LANGCHAIN_PROJECT") + tracing_v2 = os.environ.get("LANGCHAIN_TRACING_V2") + endpoint = os.environ.get("LANGCHAIN_ENDPOINT") + api_key = os.environ.get("LANGCHAIN_API_KEY") class WeaviateConfig: diff --git a/scripts/local_dev.py b/scripts/local_dev.py index dd8b8131..acd2265d 100644 --- a/scripts/local_dev.py +++ b/scripts/local_dev.py @@ -42,6 +42,9 @@ def generate_api_env_template(): "SLACK_CLIENT_SECRET": "< >", "SLACK_SIGNING_SECRET": "< >", "LANGCHAIN_PROJECT": "< >", + "LANGCHAIN_TRACING_V2": "< >", + "LANGCHAIN_ENDPOINT": "< >", + "LANGCHAIN_API_KEY": "< >", "OPENAI_API_KEY": "< >", "WEAVIATE_URL": "< >", "WEAVIATE_API_KEY": "< >",