Projects
Send traces to different projects on Confident AI
Overview
You can specify which project each trace should be sent to by setting the confident_api_key. This is especially useful when you need to separate traces to different projects within the same llm application.
The Confident API key is unique to each project and can be found in your project settings on Confident AI.
Set Projects At Runtime
Python
TypeScript
You can use the update_current_trace function to set the confident_api_key for a specific trace.
main.py
confident_api_key overrides the CONFIDENT_API_KEY environment variable.