Langsmith

If you are using Langchain or other Langchain based framework to develop. You can use Langsmith SDK to submit LLM traces to Darkraven.

Install Langsmith

pip install langsmith

Create an API Key

In settings, go to API Key tab and create an API Key。

Configuration

Add below config to Langchain:

export LANGCHAIN_TRACING_V2=true
export LANGCHAIN_API_KEY=<your-api-key>
export LANGCHAIN_PROJECT=<your-project-name>
export LANGCHAIN_ENDPOINT=https://api.darkraven.ai/api/v1/insert

Other

To use other functionality of Langsmith, refer to: Langsmith Doc - Tracing

Last updated