Langfuse integration for OpenAI SDK
npm install @langfuse/openaiThis is the OpenAI integration package of the Langfuse JS SDK containing the observeOpenAI wrapper for the OpenAI client to trace generations.
| Package | NPM | Description | Environments |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | ------------ |
| @langfuse/client |  | Langfuse API client for universal JavaScript environments | Universal JS |
| @langfuse/tracing |  | Langfuse instrumentation methods based on OpenTelemetry | Node.js 20+ |
| @langfuse/otel |  | Langfuse OpenTelemetry export helpers | Node.js 20+ |
| @langfuse/openai |  | Langfuse integration for OpenAI SDK | Universal JS |
| @langfuse/langchain |  | Langfuse integration for LangChain | Universal JS |
- Docs: https://langfuse.com/docs/sdk/typescript
- Reference: https://js.reference.langfuse.com