langfuse-docs icon indicating copy to clipboard operation
langfuse-docs copied to clipboard

Feedback for “Observability and Tracing for the Vercel AI SDK”

Open apetta opened this issue 2 months ago • 4 comments

Image

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...

apetta avatar Oct 21 '25 15:10 apetta

Plus the integration docs doesn't clarify how much of this is needed to get going with Evals. Clarifying that would also be helpful

apetta avatar Oct 21 '25 15:10 apetta

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

apetta avatar Oct 21 '25 15:10 apetta

All of this needs a rethink, it's pretty awful DX.

apetta avatar Oct 21 '25 15:10 apetta

@apetta Thanks for your feedback - as for your type error, are you on the latest opentelemetry JS SDK versions?

hassiebp avatar Oct 21 '25 17:10 hassiebp