Skip to main content
Embedchain now supports integration with LangSmith. To use langsmith, you need to do the following steps
  1. Have an account on langsmith and keep the environment variables in handy
  2. Set the environments variables in your app so that embedchain has context about it.
  3. Just use embedchain and everything will be logged to LangSmith, so that you can better test and monitor your application.
Lets cover each step in detail.
  • First make sure that you a LangSmith account created and have all the necessary variables handy. LangSmith has a good documentation on how to get started with their service.
  • Once you have the account setup, 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.