This is a notebook guide that illustrates how to incorporate the opensource deepeval package in running LangSmith Evaluations.
git clone https://github.com/catherine-langchain/langsmith-deepeval-guide.git
- If you don't have an OpenAI API key, you can sign up here, or adapt the sample code to use your preferred model.
- Generate a LangSmith API key in your LangSmith instance.
- Create a
.envfile in the root directory:
# Copy the .env.example file to .env
cp .env.example .envIf you are on a self-hosted instance, change the default LANGSMITH_ENDPOINT accordingly.