Providers
Vercel AI SDK
How to trace Vercel AI SDK calls with Latitude
Installation
To install the Latitude SDK, use your preferred package manager:
Usage
Vercel AI SDK is supported through Latitude’s custom Vercel integration. To use it, you need to install the @latitude-data/telemetry
package:
Then, you can initialize the Latitude SDK passing the Vercel processor:
Latitude’s Vercel integration already traces all LLM calls made with Vercel’s AI SDK, you should remove any other Latitude instrumentation from your project in order to avoid generating duplicated traces.