mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
21 lines
2.8 KiB
Plaintext
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 | | |