Skip to content

Update API specifications with fern api update #606

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6212,6 +6212,63 @@
}
}
},
"TurnLatency": {
"type": "object",
"properties": {
"modelLatency": {
"type": "number",
"description": "This is the model latency for the first token."
},
"voiceLatency": {
"type": "number",
"description": "This is the voice latency from the model output."
},
"transcriberLatency": {
"type": "number",
"description": "This is the transcriber latency from the user speech."
},
"endpointingLatency": {
"type": "number",
"description": "This is the endpointing latency."
},
"turnLatency": {
"type": "number",
"description": "This is the latency for the whole turn."
}
}
},
"PerformanceMetrics": {
"type": "object",
"properties": {
"turnLatencies": {
"description": "These are the individual latencies for each turn.",
"type": "array",
"items": {
"$ref": "#/components/schemas/TurnLatency"
}
},
"modelLatencyAverage": {
"type": "number",
"description": "This is the average latency for the model to output the first token."
},
"voiceLatencyAverage": {
"type": "number",
"description": "This is the average latency for the text to speech."
},
"transcriberLatencyAverage": {
"type": "number",
"description": "This is the average latency for the transcriber."
},
"endpointingLatencyAverage": {
"type": "number",
"description": "This is the average latency for the endpointing."
},
"turnLatencyAverage": {
"type": "number",
"description": "This is the average latency for complete turns."
}
}
},
"Artifact": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -6300,6 +6357,14 @@
"variableValues": {
"type": "object",
"description": "These are the variable values at the end of the workflow execution."
},
"performanceMetrics": {
"description": "This is the performance metrics for the call. It contains the turn latency, broken down by component.",
"allOf": [
{
"$ref": "#/components/schemas/PerformanceMetrics"
}
]
}
}
},
Expand Down