๐ Integrations
๐ ๏ธ LangSmith
Integrate with Langsmith to debug and monitor your LLM app
Embedchain now supports integration with LangSmith.
To use LangSmith, you need to do the following steps.
- Have an account on LangSmith and keep the environment variables in handy
- Set the environment variables in your app so that embedchain has context about it.
- Just use embedchain and everything will be logged to LangSmith, so that you can better test and monitor your application.
Letโs cover each step in detail.
-
First make sure that you have created a LangSmith account and have all the necessary variables handy. LangSmith has a good documentation on how to get started with their service.
-
Once you have setup the account, we will need the following environment variables
If you are using Python, you can use the following code to set environment variables
- Now create an app using Embedchain and everything will be automatically visible in the LangSmith
- Now the entire log for this will be visible in langsmith.
Was this page helpful?