forked from Dicklesworthstone/pi_agent_rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure_simple_text.json
More file actions
32 lines (32 loc) · 1.65 KB
/
Copy pathazure_simple_text.json
File metadata and controls
32 lines (32 loc) · 1.65 KB
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
{
"version": "1.0",
"test_name": "azure_simple_text",
"recorded_at": "2026-02-06T21:00:00.000Z",
"interactions": [
{
"request": {
"method": "POST",
"url": "https://test-resource.openai.azure.com/openai/deployments/test-deployment/chat/completions?api-version=2024-12-01-preview",
"headers": [
["api-key", "[REDACTED]"],
["Content-Type", "application/json"],
["Accept", "text/event-stream"]
]
},
"response": {
"status": 200,
"headers": [
["Content-Type", "text/event-stream"],
["Cache-Control", "no-cache"]
],
"body_chunks": [
"data: {\"id\":\"chatcmpl-azure-001\",\"object\":\"chat.completion.chunk\",\"created\":1738879200,\"model\":\"gpt-4o\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\"},\"finish_reason\":null}]}\n\n",
"data: {\"id\":\"chatcmpl-azure-001\",\"object\":\"chat.completion.chunk\",\"created\":1738879200,\"model\":\"gpt-4o\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"p\"},\"finish_reason\":null}]}\n\n",
"data: {\"id\":\"chatcmpl-azure-001\",\"object\":\"chat.completion.chunk\",\"created\":1738879200,\"model\":\"gpt-4o\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"ong\"},\"finish_reason\":null}]}\n\n",
"data: {\"id\":\"chatcmpl-azure-001\",\"object\":\"chat.completion.chunk\",\"created\":1738879200,\"model\":\"gpt-4o\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":25,\"completion_tokens\":2,\"total_tokens\":27}}\n\n",
"data: [DONE]\n\n"
]
}
}
]
}