-
Notifications
You must be signed in to change notification settings - Fork 321
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Thank you for such a great library! I've been experimenting with this in an open source tool.
Normally, if I set timestamp_granularities=["segment", "word"]
when creating a transcription, the API returns:
{
"language": "spanish",
"duration": 1409.5999755859375,
"text": "...",
"words": [
{
"word": "...",
"start": 2.4800000190734863,
"end": 3.1600000858306885
}
],
"segments": [
{
"id": 0,
"seek": 0,
"start": 2.4800000190734863,
"end": 5.860000133514404,
"text": "...",
"tokens": [
50414,
...
],
"temperature": 0.20000000298023224,
"avg_logprob": -0.28230372071266174,
"compression_ratio": 1.465000033378601,
"no_speech_prob": 0.22726023197174072
}
]
}
But the current release only supports text
, not the other fields.
I might be able to put together a PR when I get a minute. Thank you again for a great library!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request