Langfuse with OpenAI SDK
LangSmith with LangChain
Use the LangChain setup and enable LangSmith through the usual LangChain environment variables:OpenTelemetry
If your framework emits OpenTelemetry spans, Phaseo does not require a special exporter. Add useful request context yourself:- model id
- endpoint, such as
responsesorchat.completions - Phaseo request id from response metadata or logs
- selected provider when response metadata is enabled
Notes
- Do not send Phaseo API keys to observability tools as attributes.
- If the observability library wraps the OpenAI SDK, configure the wrapped client with
base_url: "https://api.phaseo.app/v1". - For LangChain traces, pair the tracing callback with the Phaseo
ChatOpenAIconfiguration.