Files
openrouter-python-sdk-retry…/docs/components/sttsegment.mdx
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
d81cd563db chore: 🐝 Update SDK - Generate (spec change merged) 0.11.7 (#402)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-07-07 21:50:31 +00:00

21 lines
2.8 KiB
Plaintext

---
title: "STTSegment"
---
A timestamped transcript segment, returned when response_format is verbose_json
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| `avg_logprob` | *Optional[float]* | :heavy_minus_sign: | Average log probability of the segment | |
| `compression_ratio` | *Optional[float]* | :heavy_minus_sign: | Compression ratio of the segment | |
| `end` | *float* | :heavy_check_mark: | Segment end time in seconds | 3.2 |
| `id` | *int* | :heavy_check_mark: | Segment index within the transcript | 0 |
| `no_speech_prob` | *Optional[float]* | :heavy_minus_sign: | Probability the segment contains no speech | |
| `seek` | *Optional[int]* | :heavy_minus_sign: | Seek offset of the segment | 0 |
| `start` | *float* | :heavy_check_mark: | Segment start time in seconds | 0 |
| `temperature` | *Optional[float]* | :heavy_minus_sign: | Temperature used for the segment | |
| `text` | *str* | :heavy_check_mark: | Transcribed text of the segment | Hello there. |
| `tokens` | List[*int*] | :heavy_minus_sign: | Token IDs of the segment | |