Feedback for “Observability and Tracing for the Vercel AI SDK”
Types aren't defined properly.
Also, the Vercel AI SDK integration docs are extremely confusing. Just provide a basic example for using the Vercel AI SDK standalone, not fused with Next.js + Vercel's infra...
Plus the integration docs doesn't clarify how much of this is needed to get going with Evals. Clarifying that would also be helpful
And what's the deal with all this?
updateActiveObservation({
input: inputText,
});
updateActiveTrace({
name: "my-ai-sdk-trace",
sessionId: chatId,
userId,
input: inputText,
});
Is a wrapper not feasible? It's a lot of jank
All of this needs a rethink, it's pretty awful DX.
@apetta Thanks for your feedback - as for your type error, are you on the latest opentelemetry JS SDK versions?