David AlonsoD
Convex Community2y ago
26 replies
David Alonso

Running Langfuse for AI tracing inside convex action

The issue I'm having is that I want to run Vercel AI + Langfuse inside a Convex action, so when I visited these docs: https://langfuse.com/docs/integrations/vercel-ai-sdk I leaned towards the Nodejs guide, but that comes with some performance losses on the Convex side (by having to use the
use node
directive), so ideally I'd use the nextjs guide but I'm not sure how to get that to work with Convex.

the founder of Langfuse said:
We have tested the vercel ai sdk integration on vercel (which default to edge functions when using the app router in nextjs afaik) which should be a similar to the cloudflare runtime

cc @jamwt as this relates to a convo we had
Open source observability for Vercel AI SDK using its native OpenTelemetry support.
Vercel AI SDK - Observability & Analytics - Langfuse
Was this page helpful?