langchain-ai / chat-langchain

https://chat.langchain.com
MIT License
5.44k stars 1.28k forks source link

Enabling LangSmith in chat-langchain #114

Open danorlando opened 1 year ago

danorlando commented 1 year ago

I'm trying to enable LangSmith in this application but the docs are not so straight-forward. Would it be possible to provide a section in the readme for using LangSmith with this?

JoyLinWQ commented 1 year ago

@danorlando , seems like its currently in closed beta. Have u gotten your API key?

hinthornw commented 1 year ago

Hi @danorlando and @JoyLinWQ , the instructions in thee readme should show how. Basically set the LANGCHAIN_* environment variables below

# for tracing
export LANGCHAIN_TRACING_V2=true
export LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"
export LANGCHAIN_API_KEY=your-api-key
export LANGCHAIN_PROJECT=your-project