Instrumentation ( Auto )
Ollama
1. Installation
First install the traceAI package to access the observability framework
2. Set Environment Variables
Set up your environment variables to authenticate with FutureAGI.
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 Ollama. This step guarantees that all interactions are tracked and monitored. If you are using a different client to interact with Ollama, use that client’s Instrumentor instead.
5. Interact with Ollama
Interact with the Ollama as you normally would. Our Instrumentor will automatically trace and send the telemetry data to our platform. Make sure that Ollama is running and accessible from your project.
Was this page helpful?