-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtest_dspy_callback.yaml
More file actions
123 lines (123 loc) · 4.24 KB
/
test_dspy_callback.yaml
File metadata and controls
123 lines (123 loc) · 4.24 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
interactions:
- request:
body: '{"messages":[{"role":"system","content":"Your input fields are:\n1. `question`
(str):\nYour output fields are:\n1. `reasoning` (str): \n2. `answer` (str):\nAll
interactions will be structured in the following way, with the appropriate values
filled in.\n\n[[ ## question ## ]]\n{question}\n\n[[ ## reasoning ## ]]\n{reasoning}\n\n[[
## answer ## ]]\n{answer}\n\n[[ ## completed ## ]]\nIn adhering to this structure,
your objective is: \n Given the fields `question`, produce the fields
`answer`."},{"role":"user","content":"[[ ## question ## ]]\nWhat is 2+2?\n\nRespond
with the corresponding output fields, starting with the field `[[ ## reasoning
## ]]`, then `[[ ## answer ## ]]`, and then ending with the marker for `[[ ##
completed ## ]]`."}],"model":"gpt-4o-mini","max_tokens":4000,"temperature":0.0}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '813'
content-type:
- application/json
host:
- api.openai.com
user-agent:
- OpenAI/Python 2.6.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 2.6.0
x-stainless-raw-response:
- 'true'
x-stainless-read-timeout:
- '600.0'
x-stainless-retry-count:
- '0'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.9.21
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
body:
string: !!binary |
H4sIAAAAAAAAAwAAAP//jJPJbtswEIbveooBc6xk2KqX2NciB7cFgiZGEcA2BJocSWwokuFiNwjy
7gUl27K7AL0I0Hzzj/5Z9JYAEMHJAgirqWeNkdmnR/twd/d1L748scl9ODzRh9vlo/l2/3n1fUnS
qNC7H8j8STVgujESvdCqw8wi9RirjmbT4Xw+nn6ctqDRHGWUVcZnY501QoksH+bjbDjLRrdHda0F
Q0cWsE4AAN7aZ/SpOP4kCximp0iDztEKyeKcBECsljFCqHPCeao8SXvItPKoWuvrNdzcgEXqtBKq
ii/b7UataoSXgC62A9Q9Oyi1BV8juNCALiEHqjjkA1gq2FEnGFArfN2gFyyFQ40KXnUAyjn4gwYV
mh1aB15X6Gu0aUuZbnZCYawrLOypDOgGsKrRYqktppDDB8gBXwKVDsaDjdqozjBV7oD25Hbcg+MW
kHfssmuLZXA0Tl4FKS8AVUp7Gltt5709kvfzhKWujNU795uUlEIJVxfd9OI0ndeGtPQ9Adi2mwxX
yyHG6sb4wutnbD83mh03SfoD6ulkdoReeyr7eJ6fwFW9gqOnQrqLWyCMshp5L+0PhwYu9AVILrr+
083fap/v5n/K94AxNB55YSxywa477tMsxv/rX2nnKbeGiUO7FwwLL9DGTXAsaZDd1RP36jw2RSlU
hdZY0Z1+aYrJdEjLKU4mc5K8J78AAAD//wMAHmfYmwgEAAA=
headers:
CF-RAY:
- 991b80ba5f531dd5-IAD
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 20 Oct 2025 21:10:37 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=NCarHmYOyIz1ZAIOne5DFJej0ZWtyIkscrsY1JN2xgU-1760994637-1.0.1.1-S4ijZSTcO6mty21tIa9pLH.RT_PbGhLHllaxLNjL.qAfWfKv8CzxzsKMrOwqSNdcr8XrFQZqX0N0k7NXrH129pMDQ8PsNZMyn1FG241fvS4;
path=/; expires=Mon, 20-Oct-25 21:40:37 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=Mp.a7GDzqU0CGQVrU3qeUynTdP6UBCXjJeHOoQ6jEDI-1760994637165-0.0.1.1-604800000;
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
cf-cache-status:
- DYNAMIC
openai-organization:
- braintrust-data
openai-processing-ms:
- '1008'
openai-project:
- proj_vsCSXafhhByzWOThMrJcZiw9
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '1171'
x-openai-proxy-wasm:
- v0.1
x-ratelimit-limit-requests:
- '30000'
x-ratelimit-limit-tokens:
- '150000000'
x-ratelimit-remaining-requests:
- '29999'
x-ratelimit-remaining-tokens:
- '149999832'
x-ratelimit-reset-requests:
- 2ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_3350c1e2f2d54aaf9923d2481dfaff3c
status:
code: 200
message: OK
version: 1