-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurleg.txt
37 lines (37 loc) · 1.15 KB
/
curleg.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
curl -k -L 'https://secondAssistant.pythonanywhere.com' -H 'Content-Type: application/json' -d '{
"id": "user-utterance-45",
"speaker-id": "user1234",
"previous-id": "user-utterance-44",
"span": {
"start-time": "2023-09-04T16:01:55.598426",
"end-offset": "PT1.045"
},
"features": {
"user-request-audio": {
"mimeType": "audio/wav",
"tokens": [
{
"value-url": "http://localhost:8080/ab78h50ef.wav"
}
]
},
"user-request-text": {
"mimeType": "text/plain",
"lang": "en",
"encoding": "utf-8",
"tokens": [
{
"value": " ask test assistant number 2 \nshould I rotate the tires on my car",
"links": [
"$.user-request-audio.tokens[0].value-url"
],
"confidence": 0.99,
"span": {
"start-offset": "PT8.79",
"end-offset": "PT8.845"
}
}
]
}
}
}'