Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

diarization.json

32 lines835 Bytes

1{
2 "fixtures": [
3 {
4 "match": { "model": "gpt-4o-transcribe-diarize" },
5 "response": {
6 "transcription": {
7 "text": "agent: Welcome to the store.\ncustomer: I need a Fender Stratocaster.",
8 "language": "english",
9 "duration": 3.2,
10 "segments": [
11 {
12 "id": "seg_0",
13 "type": "transcript.text.segment",
14 "start": 0,
15 "end": 1.4,
16 "text": "Welcome to the store.",
17 "speaker": "agent"
18 },
19 {
20 "id": "seg_1",
21 "type": "transcript.text.segment",
22 "start": 1.5,
23 "end": 3.2,
24 "text": "I need a Fender Stratocaster.",
25 "speaker": "customer"
26 }
27 ]
28 }
29 }
30 }
31 ]