Instrumentation ( Auto )
Together AI
1. Installation
First install the traceAI package to access the observability framework
2. Set Environment Variables
Set up your environment variables to authenticate with both FutureAGI and OpenAI services.
3. Initialize Trace Provider
Set up the trace provider to create a new project in FutureAGI, establish telemetry data pipelines .
4. Instrument your Project
Use the OpenAI Instrumentor to instrument your project, as the OpenAI Client is utilized for interactions with Together AI. This step guarantees that all interactions are tracked and monitored. If you are using a different client to interact with Together AI, use that client’s Instrumentor instead.
5. Interact with Together AI
Interact with the Together AI through OpenAI Client. Our OpenAI Instrumentor will automatically trace and send the telemetry data to our platform.
Was this page helpful?