chat-langchain icon indicating copy to clipboard operation
chat-langchain copied to clipboard

Enabling LangSmith in chat-langchain

Open danorlando opened this issue 1 year ago • 2 comments

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?

danorlando avatar Aug 20 '23 18:08 danorlando

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

JoyLinWQ avatar Oct 24 '23 12:10 JoyLinWQ

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

hinthornw avatar Nov 01 '23 19:11 hinthornw