Using langfuse with openai.com

TypeScript integration

Install

npm install langfuse

Quick start

import Langfuse from 'langfuse';

const client = new Langfuse({ apiKey: "YOUR_API_KEY" });
Returns a list of files that belong to the user's organization.
curl \
  https://api.openai.com/v1/files
Lists the currently available models, and provides basic information about ea…
curl \
  https://api.openai.com/v1/models
Lists the currently available (non-finetuned) models, and provides basic info…
curl \
  https://api.openai.com/v1/engines
SDK on GitHub 📄 API Docs
SDK
langfuse
TypeScript
API
openai.com
openai.com

At a glance

Language TypeScript
Endpoints28
Base URLhttps://api.openai.com/v1