Skip to content

Commit df58222

Browse files
authored
Merge branch 'main' into bryant/billing-faq
2 parents dfedb4c + 54c81f0 commit df58222

File tree

4 files changed

+87
-6
lines changed

4 files changed

+87
-6
lines changed

fern/apis/api/generators.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ groups:
1010
python-sdk:
1111
generators:
1212
- name: fernapi/fern-python-sdk
13-
version: 4.3.8
13+
version: 4.3.9
1414
disable-examples: true
1515
api:
1616
settings:
@@ -47,7 +47,7 @@ groups:
4747
java-sdk:
4848
generators:
4949
- name: fernapi/fern-java-sdk
50-
version: 2.2.0
50+
version: 2.3.1
5151
output:
5252
location: maven
5353
coordinate: dev.vapi:server-sdk

fern/changelog/2024-12-09.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1. **Improved Tavus Video Processing Error Messages**: Your call `endedReason` now includes detailed error messages for `pipeline-error-tavus-video-failed`. Use this to detect and manage scenarios where the Tavus video processing pipeline fails during a call.

fern/docs.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,10 @@ navigation:
351351
path: providers/cloud/gcp.mdx
352352
- page: Cloudflare R2
353353
path: providers/cloud/cloudflare.mdx
354+
- section: Observability
355+
contents:
356+
- page: Langfuse
357+
path: providers/observability/langfuse.mdx
354358
- page: Voiceflow
355359
path: providers/voiceflow.mdx
356360
- section: Security & Privacy
@@ -534,7 +538,7 @@ redirects:
534538
destination: "/call-forwarding"
535539
- source: "/prompting_guide"
536540
destination: "/prompting-guide"
537-
- source: /community/videos
538-
destination: /community/appointment-scheduling
539-
- source: /enterprise
540-
destination: /enterprise/plans
541+
- source: "/community/videos"
542+
destination: "/community/appointment-scheduling"
543+
- source: "/enterprise"
544+
destination: "/enterprise/plans"
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
title: Langfuse Integration with Vapi
3+
description: Integrate Vapi with Langfuse for enhanced voice AI telemetry monitoring, enabling improved performance and reliability of your AI applications.
4+
slug: providers/observability/langfuse
5+
---
6+
7+
# Vapi Integration
8+
9+
Vapi natively integrates with Langfuse, allowing you to send traces directly to Langfuse for enhanced telemetry monitoring. This integration enables you to gain deeper insights into your voice AI applications and improve their performance and reliability.
10+
11+
<iframe
12+
src="https://youtu.be/V4ybHNWvu90"
13+
title="YouTube video player"
14+
frameborder="0"
15+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
16+
referrerpolicy="strict-origin-when-cross-origin"
17+
width="100%"
18+
height="400px"
19+
allowfullscreen
20+
/>
21+
22+
## What is Langfuse?
23+
24+
[Langfuse](https://langfuse.com/) is an open source LLM engineering platform designed to provide better **[observability](/docs/tracing)** and **[evaluations](/docs/scores/overview)** into AI applications. It helps developers track, analyze, and visualize traces from AI interactions, enabling better performance tuning, debugging, and optimization of AI agents.
25+
26+
## Get Started
27+
28+
<Steps>
29+
<Step title="Get your Langfuse Credentials">
30+
31+
First, you'll need your Langfuse credentials:
32+
33+
- **Secret Key**
34+
- **Public Key**
35+
- **Host URL**
36+
37+
You can obtain these by signing up for [Langfuse Cloud](https://cloud.langfuse.com/) or [self-hosting Langfuse](https://langfuse.com/docs/deployment/self-host).
38+
39+
</Step>
40+
41+
<Step title="Add Langfuse Credentials">
42+
43+
Log in to your Vapi dashboard and navigate to the [Provider Credentials page](https://dashboard.vapi.ai/keys).
44+
45+
Under the **Observability Providers** section, you'll find an option for **Langfuse**. Enter your Langfuse credentials:
46+
47+
- **Secret Key**
48+
- **Public Key**
49+
- **Host URL** (US data region: `https://us.cloud.langfuse.com`, EU data region: `https://cloud.langfuse.com`)
50+
51+
Click **Save** to update your credentials.
52+
53+
<Frame border className="sm:w-1/2">
54+
![Vapi Provider Credentials](https://langfuse.com/images/docs/vapi-integration-credentials.png)
55+
</Frame>
56+
57+
</Step>
58+
59+
<Step title="See Traces in Langfuse">
60+
61+
Once you've added your credentials, you should start seeing traces in your Langfuse dashboard for every conversation your agents have.
62+
63+
<Frame border>
64+
![Example trace of Vapi conversation in Langfuse](https://langfuse.com/images/docs/vapi-integration-example-trace.png)
65+
</Frame>
66+
67+
Example trace in Langfuse: https://cloud.langfuse.com/project/cloramnkj0002jz088vzn1ja4/traces/50163c14-9784-4cb9-b18e-23e924d0bb66
68+
69+
</Step>
70+
71+
<Step title="Evaluate and Debug your Agent">
72+
73+
To make the most out of this integration, you can now use Langfuse's [evaluation](https://langfuse.com/docs/scores/overview) and [debugging](https://langfuse.com/docs/analytics/overview) tools to analyze and improve the performance of your voice AI agents.
74+
75+
</Step>
76+
</Steps>

0 commit comments

Comments
 (0)