Skip to main content

1. Installation

First install the traceAI package and necessary LangChain packages.

2. Set Environment Variables

Set up your environment variables to authenticate with both FutureAGI and OpenAI.

3. Initialize Trace Provider

Set up the trace provider to create a new project in FutureAGI, establish telemetry data pipelines .

4. Instrument your Project

Initialize the LangChain Instrumentor to enable automatic tracing. This step ensures that all interactions with the LangChain are tracked and monitored.

5. Create LangChain Components

Set up your LangChain pipeline as you normally would. Our Instrumentor will automatically trace and send the telemetry data to our platform.