lmnr 0.4.36__py3-none-any.whl → 0.4.37__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. lmnr/__init__.py +2 -2
  2. lmnr/{traceloop_sdk → openllmetry_sdk}/__init__.py +3 -3
  3. lmnr/{traceloop_sdk → openllmetry_sdk}/decorators/base.py +4 -4
  4. lmnr/openllmetry_sdk/tracing/__init__.py +1 -0
  5. lmnr/{traceloop_sdk → openllmetry_sdk}/tracing/context_manager.py +1 -1
  6. lmnr/{traceloop_sdk → openllmetry_sdk}/tracing/tracing.py +61 -47
  7. lmnr/sdk/decorators.py +3 -3
  8. lmnr/sdk/evaluations.py +2 -2
  9. lmnr/sdk/laminar.py +7 -7
  10. {lmnr-0.4.36.dist-info → lmnr-0.4.37.dist-info}/METADATA +2 -2
  11. lmnr-0.4.37.dist-info/RECORD +32 -0
  12. lmnr/traceloop_sdk/tests/__init__.py +0 -1
  13. lmnr/traceloop_sdk/tests/cassettes/test_association_properties/test_langchain_and_external_association_properties.yaml +0 -101
  14. lmnr/traceloop_sdk/tests/cassettes/test_association_properties/test_langchain_association_properties.yaml +0 -99
  15. lmnr/traceloop_sdk/tests/cassettes/test_manual/test_manual_report.yaml +0 -98
  16. lmnr/traceloop_sdk/tests/cassettes/test_manual/test_resource_attributes.yaml +0 -98
  17. lmnr/traceloop_sdk/tests/cassettes/test_privacy_no_prompts/test_simple_workflow.yaml +0 -199
  18. lmnr/traceloop_sdk/tests/cassettes/test_prompt_management/test_prompt_management.yaml +0 -202
  19. lmnr/traceloop_sdk/tests/cassettes/test_sdk_initialization/test_resource_attributes.yaml +0 -199
  20. lmnr/traceloop_sdk/tests/cassettes/test_tasks/test_task_io_serialization_with_langchain.yaml +0 -96
  21. lmnr/traceloop_sdk/tests/cassettes/test_workflows/test_simple_aworkflow.yaml +0 -98
  22. lmnr/traceloop_sdk/tests/cassettes/test_workflows/test_simple_workflow.yaml +0 -199
  23. lmnr/traceloop_sdk/tests/cassettes/test_workflows/test_streaming_workflow.yaml +0 -167
  24. lmnr/traceloop_sdk/tests/conftest.py +0 -111
  25. lmnr/traceloop_sdk/tests/test_association_properties.py +0 -229
  26. lmnr/traceloop_sdk/tests/test_manual.py +0 -48
  27. lmnr/traceloop_sdk/tests/test_nested_tasks.py +0 -47
  28. lmnr/traceloop_sdk/tests/test_privacy_no_prompts.py +0 -50
  29. lmnr/traceloop_sdk/tests/test_sdk_initialization.py +0 -57
  30. lmnr/traceloop_sdk/tests/test_tasks.py +0 -32
  31. lmnr/traceloop_sdk/tests/test_workflows.py +0 -262
  32. lmnr/traceloop_sdk/tracing/__init__.py +0 -1
  33. lmnr-0.4.36.dist-info/RECORD +0 -52
  34. /lmnr/{traceloop_sdk → openllmetry_sdk}/.flake8 +0 -0
  35. /lmnr/{traceloop_sdk → openllmetry_sdk}/.python-version +0 -0
  36. /lmnr/{traceloop_sdk → openllmetry_sdk}/config/__init__.py +0 -0
  37. /lmnr/{traceloop_sdk → openllmetry_sdk}/decorators/__init__.py +0 -0
  38. /lmnr/{traceloop_sdk → openllmetry_sdk}/instruments.py +0 -0
  39. /lmnr/{traceloop_sdk → openllmetry_sdk}/tracing/attributes.py +0 -0
  40. /lmnr/{traceloop_sdk → openllmetry_sdk}/tracing/content_allow_list.py +0 -0
  41. /lmnr/{traceloop_sdk → openllmetry_sdk}/utils/__init__.py +0 -0
  42. /lmnr/{traceloop_sdk → openllmetry_sdk}/utils/in_memory_span_exporter.py +0 -0
  43. /lmnr/{traceloop_sdk → openllmetry_sdk}/utils/json_encoder.py +0 -0
  44. /lmnr/{traceloop_sdk → openllmetry_sdk}/utils/package_check.py +0 -0
  45. /lmnr/{traceloop_sdk → openllmetry_sdk}/version.py +0 -0
  46. {lmnr-0.4.36.dist-info → lmnr-0.4.37.dist-info}/LICENSE +0 -0
  47. {lmnr-0.4.36.dist-info → lmnr-0.4.37.dist-info}/WHEEL +0 -0
  48. {lmnr-0.4.36.dist-info → lmnr-0.4.37.dist-info}/entry_points.txt +0 -0
@@ -1,199 +0,0 @@
1
- interactions:
2
- - request:
3
- body: '{"messages": [{"role": "user", "content": "Tell me a joke about opentelemetry"}],
4
- "model": "gpt-3.5-turbo"}'
5
- headers:
6
- accept:
7
- - application/json
8
- accept-encoding:
9
- - gzip, deflate
10
- connection:
11
- - keep-alive
12
- content-length:
13
- - '107'
14
- content-type:
15
- - application/json
16
- host:
17
- - api.openai.com
18
- user-agent:
19
- - OpenAI/Python 1.12.0
20
- x-stainless-arch:
21
- - arm64
22
- x-stainless-async:
23
- - 'false'
24
- x-stainless-lang:
25
- - python
26
- x-stainless-os:
27
- - MacOS
28
- x-stainless-package-version:
29
- - 1.12.0
30
- x-stainless-runtime:
31
- - CPython
32
- x-stainless-runtime-version:
33
- - 3.9.5
34
- method: POST
35
- uri: https://api.openai.com/v1/chat/completions
36
- response:
37
- body:
38
- string: !!binary |
39
- H4sIAAAAAAAAA1RRTUsDMRC9768Yc/HSyrbrWu1FVLQKfoKgIFLS7OxubJKJySxapP9d0tYWL3N4
40
- L+/Nm5efDEDoSoxBqFayst70j78+n267x9Hrw81DPRnd39QXd9dXz5PPb3t2KXpJQbMPVPynOlBk
41
- vUHW5Na0CigZk+tglJ/kRTksihVhqUKTZI3nfnFQ9rkLM+rng2G5UbakFUYxhrcMAOBnNVNGV+G3
42
- GEPe+0MsxigbFOPtIwARyCREyBh1ZOlY9HakIsfoVrFf2gVUugJuEXygJkhrMcAsoJxD5+FLcwvk
43
- 0TEatMhhcQrnqGQXETSDos5Ubp8hIlpgAg5SIUhoiCpQ5ByqVMee2GxfbmMbanygWTrRdcZs8Vo7
44
- HdtpQBnJpYiRya/lywzgfVVP9+9i4QNZz1OmObpkOCjXdmL3ITtyONyQTCzNDi9G2SafiIvIaKe1
45
- dg0GH/S6q9pPj48G5ZE8OZS5yJbZLwAAAP//AwAUd8GRNQIAAA==
46
- headers:
47
- CF-Cache-Status:
48
- - DYNAMIC
49
- CF-RAY:
50
- - 85c044a25bdc0d6e-MXP
51
- Cache-Control:
52
- - no-cache, must-revalidate
53
- Connection:
54
- - keep-alive
55
- Content-Encoding:
56
- - gzip
57
- Content-Type:
58
- - application/json
59
- Date:
60
- - Tue, 27 Feb 2024 12:00:34 GMT
61
- Server:
62
- - cloudflare
63
- Set-Cookie:
64
- - __cf_bm=J7CW3gXyUth9bXxP62KOXJBT9fqPtQCn6rOtIOYSOms-1709035234-1.0-Af3zRwkM02ElV8pGlA2ndZpn9K5kxgF0BOjGNlpNg3Dv/qKUKDqX5KjIeb/o2pyy3ZD0WS15+EM040L1eN/yQ4s=;
65
- path=/; expires=Tue, 27-Feb-24 12:30:34 GMT; domain=.api.openai.com; HttpOnly;
66
- Secure; SameSite=None
67
- - _cfuvid=tr0R1O18cmcX2Q2PFjB12pv_1Mu4R.MQAHgSyTr7lfY-1709035234516-0.0-604800000;
68
- path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
69
- Transfer-Encoding:
70
- - chunked
71
- access-control-allow-origin:
72
- - '*'
73
- alt-svc:
74
- - h3=":443"; ma=86400
75
- openai-model:
76
- - gpt-3.5-turbo-0125
77
- openai-organization:
78
- - traceloop
79
- openai-processing-ms:
80
- - '410'
81
- openai-version:
82
- - '2020-10-01'
83
- strict-transport-security:
84
- - max-age=15724800; includeSubDomains
85
- x-ratelimit-limit-requests:
86
- - '5000'
87
- x-ratelimit-limit-tokens:
88
- - '160000'
89
- x-ratelimit-remaining-requests:
90
- - '4999'
91
- x-ratelimit-remaining-tokens:
92
- - '159974'
93
- x-ratelimit-reset-requests:
94
- - 12ms
95
- x-ratelimit-reset-tokens:
96
- - 9ms
97
- x-request-id:
98
- - req_008b3333db5c78b9ded9415f11929844
99
- status:
100
- code: 200
101
- message: OK
102
- - request:
103
- body: '{"messages": [{"role": "user", "content": "Tell me a joke about opentelemetry"}],
104
- "model": "gpt-3.5-turbo"}'
105
- headers:
106
- accept:
107
- - application/json
108
- accept-encoding:
109
- - gzip, deflate
110
- connection:
111
- - keep-alive
112
- content-length:
113
- - '107'
114
- content-type:
115
- - application/json
116
- cookie:
117
- - __cf_bm=J7CW3gXyUth9bXxP62KOXJBT9fqPtQCn6rOtIOYSOms-1709035234-1.0-Af3zRwkM02ElV8pGlA2ndZpn9K5kxgF0BOjGNlpNg3Dv/qKUKDqX5KjIeb/o2pyy3ZD0WS15+EM040L1eN/yQ4s=;
118
- _cfuvid=tr0R1O18cmcX2Q2PFjB12pv_1Mu4R.MQAHgSyTr7lfY-1709035234516-0.0-604800000
119
- host:
120
- - api.openai.com
121
- user-agent:
122
- - OpenAI/Python 1.12.0
123
- x-stainless-arch:
124
- - arm64
125
- x-stainless-async:
126
- - 'false'
127
- x-stainless-lang:
128
- - python
129
- x-stainless-os:
130
- - MacOS
131
- x-stainless-package-version:
132
- - 1.12.0
133
- x-stainless-runtime:
134
- - CPython
135
- x-stainless-runtime-version:
136
- - 3.9.5
137
- method: POST
138
- uri: https://api.openai.com/v1/chat/completions
139
- response:
140
- body:
141
- string: !!binary |
142
- H4sIAAAAAAAAA1RRXWsbMRB8v1+x1bMdzj5favslEEpo6DcEUmiLkaX1nWKdVl2t45jg/15059j0
143
- RYiZnWFm97UAUM6qJSjTajFd9OP5/u+PL3d384eX5uHD/fb7x2f++s192n9uqsefapQVtH5CI2+q
144
- K0Nd9CiOwkAbRi2YXSfvy0VZ1dNq1hMdWfRZ1kQZV1f1WHa8pnE5mdYnZUvOYFJL+FUAALz2b84Y
145
- LL6oJZSjN6TDlHSDankeAlBMPiNKp+SS6CBqdCENBcHQx35sD2CdBWkRKGIQ9Nih8AEsPqOniAxr
146
- dqEBDV5biwxCsCfe3sDvcItG7xJm9QFa1GyHb0C0aPOksDY97xiSYEzv1CnH8VzAUxOZ1rls2Hl/
147
- xjcuuNSuGHWikMMmoTjIjwXAn35Ru/+6q8jURVkJbTFkw0k92KnLaS7kdHYihUT7C14tilM+lQ5J
148
- sFttXGiQI7tha5u4ml9P6mu9mOlSFcfiHwAAAP//AwB+6qFIPwIAAA==
149
- headers:
150
- CF-Cache-Status:
151
- - DYNAMIC
152
- CF-RAY:
153
- - 85c044a7edf50d6e-MXP
154
- Cache-Control:
155
- - no-cache, must-revalidate
156
- Connection:
157
- - keep-alive
158
- Content-Encoding:
159
- - gzip
160
- Content-Type:
161
- - application/json
162
- Date:
163
- - Tue, 27 Feb 2024 12:00:35 GMT
164
- Server:
165
- - cloudflare
166
- Transfer-Encoding:
167
- - chunked
168
- access-control-allow-origin:
169
- - '*'
170
- alt-svc:
171
- - h3=":443"; ma=86400
172
- openai-model:
173
- - gpt-3.5-turbo-0125
174
- openai-organization:
175
- - traceloop
176
- openai-processing-ms:
177
- - '750'
178
- openai-version:
179
- - '2020-10-01'
180
- strict-transport-security:
181
- - max-age=15724800; includeSubDomains
182
- x-ratelimit-limit-requests:
183
- - '5000'
184
- x-ratelimit-limit-tokens:
185
- - '160000'
186
- x-ratelimit-remaining-requests:
187
- - '4999'
188
- x-ratelimit-remaining-tokens:
189
- - '159974'
190
- x-ratelimit-reset-requests:
191
- - 12ms
192
- x-ratelimit-reset-tokens:
193
- - 9ms
194
- x-request-id:
195
- - req_bf1ec13b40c7a03dd17dcca80cbd9031
196
- status:
197
- code: 200
198
- message: OK
199
- version: 1
@@ -1,96 +0,0 @@
1
- interactions:
2
- - request:
3
- body: '{"messages": [{"content": "Is Berlin the capital of Germany? Answer with
4
- yes or no", "role": "user"}], "model": "gpt-3.5-turbo", "n": 1, "stream": false,
5
- "temperature": 0.0}'
6
- headers:
7
- accept:
8
- - application/json
9
- accept-encoding:
10
- - gzip, deflate
11
- connection:
12
- - keep-alive
13
- content-length:
14
- - '173'
15
- content-type:
16
- - application/json
17
- host:
18
- - api.openai.com
19
- user-agent:
20
- - OpenAI/Python 1.34.0
21
- x-stainless-arch:
22
- - arm64
23
- x-stainless-async:
24
- - 'false'
25
- x-stainless-lang:
26
- - python
27
- x-stainless-os:
28
- - MacOS
29
- x-stainless-package-version:
30
- - 1.34.0
31
- x-stainless-runtime:
32
- - CPython
33
- x-stainless-runtime-version:
34
- - 3.11.8
35
- method: POST
36
- uri: https://api.openai.com/v1/chat/completions
37
- response:
38
- body:
39
- string: !!binary |
40
- H4sIAAAAAAAAA1SQPU/DMBRF9/wK681N1fQ7GWFlKRMIochxX1OD7WfZL0BV5b8jp2kLi4d7c66P
41
- c86EAL2HSoA6SlbWm7xsyo6K8vGLwunbHCy7nXxqH9YvO/W8hEkiqPlAxVdqqsh6g6zJXWoVUDKm
42
- 1WJTbNfLxXyzHQpLezQJaz3ni+kq5y40lM+K+Wokj6QVRqjEWyaEEOfhTI5ujz9QidnkmliMUbYI
43
- 1e0jISCQSQnIGHVk6Rgm91KRY3SD9itGGIv+tmio9YGadLvrjLnlB+10PNYBZSSX6MjkL3ifCfE+
44
- mHf/ZMAHsp5rpk90abAoL3Nw/1d/yrFjYmnu8XyWjXoQT5HR1gftWgw+6OEVSTLrs18AAAD//wMA
45
- kVnOwcQBAAA=
46
- headers:
47
- CF-Cache-Status:
48
- - DYNAMIC
49
- CF-RAY:
50
- - 89549007cb0d09cd-HFA
51
- Connection:
52
- - keep-alive
53
- Content-Encoding:
54
- - gzip
55
- Content-Type:
56
- - application/json
57
- Date:
58
- - Mon, 17 Jun 2024 16:54:38 GMT
59
- Server:
60
- - cloudflare
61
- Set-Cookie:
62
- - __cf_bm=Gh1qVfLP3osdAlsfwZ95bPcQ70P7y7P2GqkDpwv_114-1718643278-1.0.1.1-Ylx9MccknWpIdVgOohfqOJxbkQtk.DOSwQ2W1Fhzbzpaygq4eIg45EE7awsQUWAOUe1YQZUfX8_MTak1JE0kdA;
63
- path=/; expires=Mon, 17-Jun-24 17:24:38 GMT; domain=.api.openai.com; HttpOnly;
64
- Secure; SameSite=None
65
- - _cfuvid=eicdezJPZl1ydM5agPhmwxuY_PMRMVLW3JlEWKMBbgc-1718643278656-0.0.1.1-604800000;
66
- path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
67
- Transfer-Encoding:
68
- - chunked
69
- alt-svc:
70
- - h3=":443"; ma=86400
71
- openai-organization:
72
- - traceloop
73
- openai-processing-ms:
74
- - '245'
75
- openai-version:
76
- - '2020-10-01'
77
- strict-transport-security:
78
- - max-age=15724800; includeSubDomains
79
- x-ratelimit-limit-requests:
80
- - '5000'
81
- x-ratelimit-limit-tokens:
82
- - '160000'
83
- x-ratelimit-remaining-requests:
84
- - '4999'
85
- x-ratelimit-remaining-tokens:
86
- - '159969'
87
- x-ratelimit-reset-requests:
88
- - 12ms
89
- x-ratelimit-reset-tokens:
90
- - 11ms
91
- x-request-id:
92
- - req_6dc4b2c486e29ab298a3c8a30995470e
93
- status:
94
- code: 200
95
- message: OK
96
- version: 1
@@ -1,98 +0,0 @@
1
- interactions:
2
- - request:
3
- body: '{"messages": [{"role": "user", "content": "Tell me a joke about OpenTelemetry"}],
4
- "model": "gpt-3.5-turbo"}'
5
- headers:
6
- accept:
7
- - application/json
8
- accept-encoding:
9
- - gzip, deflate
10
- connection:
11
- - keep-alive
12
- content-length:
13
- - '107'
14
- content-type:
15
- - application/json
16
- host:
17
- - api.openai.com
18
- user-agent:
19
- - AsyncOpenAI/Python 1.35.15
20
- x-stainless-arch:
21
- - arm64
22
- x-stainless-async:
23
- - async:asyncio
24
- x-stainless-lang:
25
- - python
26
- x-stainless-os:
27
- - MacOS
28
- x-stainless-package-version:
29
- - 1.35.15
30
- x-stainless-runtime:
31
- - CPython
32
- x-stainless-runtime-version:
33
- - 3.9.5
34
- method: POST
35
- uri: https://api.openai.com/v1/chat/completions
36
- response:
37
- body:
38
- string: !!binary |
39
- H4sIAAAAAAAAA1SRT08CMRDF7/spxp7BAJsNfy4metRoiCiJxpDSHXYL3U5tB2FD+O6mywJ66eH9
40
- 5k3fzBwSAKFzMQGhSsmqcqY7ptHUvT+Nq+9Zrzcf0m7G04/n9cP+7TV/FJ3ooOUaFZ9dt4oqZ5A1
41
- 2RNWHiVj7NofDvrDNBul4wZUlKOJtsJxN73Nurz1S+r2+oOsdZakFQYxgc8EAODQvDGjzXEvJtDr
42
- nJUKQ5AFismlCEB4MlERMgQdWFoWnStUZBltE3te1pDrHLhEeHFoZ2iwQvY15PiDhhx6KAiWnjZ4
43
- B/eo5DZgrK5hhx5Bmp2sA7CXStsiAu0B9w5twHAj2j+Pl7CGCudpGQezW2Mu+kpbHcqFRxnIxmCB
44
- yZ3sxwTgq1nK9t+cwnmqHC+YNmhjw352aieuZ/gDRy1kYmmuepombT4R6sBYLVbaFuid182GYsrk
45
- mPwCAAD//wMA0ggXjCACAAA=
46
- headers:
47
- CF-Cache-Status:
48
- - DYNAMIC
49
- CF-RAY:
50
- - 8a7b7e065dbe09b9-HFA
51
- Connection:
52
- - keep-alive
53
- Content-Encoding:
54
- - gzip
55
- Content-Type:
56
- - application/json
57
- Date:
58
- - Tue, 23 Jul 2024 11:57:20 GMT
59
- Server:
60
- - cloudflare
61
- Set-Cookie:
62
- - __cf_bm=i1KFoZSyRXnIoD4BIR9Xs3qMj7bNNyzawZ0EmQmdC4k-1721735840-1.0.1.1-EUFFrC3qgKhnj6WZ2jcCXrRgvcdPsFl1ZQS7OQkl9HPYpFTAMJ6_h6CGwMUQZ0snpzqKoOU.V7ncuFtd4GcOBg;
63
- path=/; expires=Tue, 23-Jul-24 12:27:20 GMT; domain=.api.openai.com; HttpOnly;
64
- Secure; SameSite=None
65
- - _cfuvid=TA6paBnj9YCltuuiD4.DPXHHjLE2BJq6nAcZsD8jPDU-1721735840397-0.0.1.1-604800000;
66
- path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
67
- Transfer-Encoding:
68
- - chunked
69
- X-Content-Type-Options:
70
- - nosniff
71
- alt-svc:
72
- - h3=":443"; ma=86400
73
- openai-organization:
74
- - traceloop
75
- openai-processing-ms:
76
- - '286'
77
- openai-version:
78
- - '2020-10-01'
79
- strict-transport-security:
80
- - max-age=15552000; includeSubDomains; preload
81
- x-ratelimit-limit-requests:
82
- - '5000'
83
- x-ratelimit-limit-tokens:
84
- - '4000000'
85
- x-ratelimit-remaining-requests:
86
- - '4999'
87
- x-ratelimit-remaining-tokens:
88
- - '3999973'
89
- x-ratelimit-reset-requests:
90
- - 12ms
91
- x-ratelimit-reset-tokens:
92
- - 0s
93
- x-request-id:
94
- - req_dbf3f3565198e12aea25e38837534938
95
- status:
96
- code: 200
97
- message: OK
98
- version: 1
@@ -1,199 +0,0 @@
1
- interactions:
2
- - request:
3
- body: '{"messages": [{"role": "user", "content": "Tell me a joke about OpenTelemetry"}],
4
- "model": "gpt-3.5-turbo"}'
5
- headers:
6
- accept:
7
- - application/json
8
- accept-encoding:
9
- - gzip, deflate
10
- connection:
11
- - keep-alive
12
- content-length:
13
- - '107'
14
- content-type:
15
- - application/json
16
- host:
17
- - api.openai.com
18
- user-agent:
19
- - OpenAI/Python 1.12.0
20
- x-stainless-arch:
21
- - arm64
22
- x-stainless-async:
23
- - 'false'
24
- x-stainless-lang:
25
- - python
26
- x-stainless-os:
27
- - MacOS
28
- x-stainless-package-version:
29
- - 1.12.0
30
- x-stainless-runtime:
31
- - CPython
32
- x-stainless-runtime-version:
33
- - 3.9.5
34
- method: POST
35
- uri: https://api.openai.com/v1/chat/completions
36
- response:
37
- body:
38
- string: !!binary |
39
- H4sIAAAAAAAAA1SRTW/bMAyG7/4VrM5J4Th1muYyYJcdBrToNiCHYQhomZGVyKImMUvTIv+9kPOF
40
- XXR4P4iH1EcBoGyrFqB0h6L74Mbz/d/X5+/N5p3Ncvat+WmqsHnjavvDLafPapQb3GxIy6V1r7kP
41
- jsSyP9k6EgrlqZPH8qmc1tW0HoyeW3K5ZoKMp/f1WHax4XE5qepzs2OrKakF/C4AAD6GNzP6lt7U
42
- AsrRRekpJTSkFtcQgIrssqIwJZsEvajRzdTshfyAvewO0NoWpCN4CeR/kaOeJB4ADXkBQwLW/7NC
43
- LQgDOjdEA0axlL7AV9K4SwRWAN0eDwm2nvcJOt7nvETUBAiGuQWxPd2pM8bxyu/YhMhN3tXvnLvq
44
- a+tt6laRMLHPrEk4nOrHAuDPcKfdf6urELkPshLeks8DJ/VpnLr9zM2sLqawoLvpD2Vx5lPpkIT6
45
- 1dp6QzFEezraOqzms0k9w6cHLFVxLD4BAAD//wMA0GjZDD4CAAA=
46
- headers:
47
- CF-Cache-Status:
48
- - DYNAMIC
49
- CF-RAY:
50
- - 85c044aeb9be0d68-MXP
51
- Cache-Control:
52
- - no-cache, must-revalidate
53
- Connection:
54
- - keep-alive
55
- Content-Encoding:
56
- - gzip
57
- Content-Type:
58
- - application/json
59
- Date:
60
- - Tue, 27 Feb 2024 12:00:36 GMT
61
- Server:
62
- - cloudflare
63
- Set-Cookie:
64
- - __cf_bm=6OMyJmXVQKbgixGmrzfEUQ2Lxs7bTxFr0rWbdpIwpdE-1709035236-1.0-ATrSdiYHD8+xMObzA+ZwowLYajT6OhzdWOzWxTSkbfqhoVWfaUWiAE77LDPTTYjfaRTNm3oVlsZuFbuTTcyseFU=;
65
- path=/; expires=Tue, 27-Feb-24 12:30:36 GMT; domain=.api.openai.com; HttpOnly;
66
- Secure; SameSite=None
67
- - _cfuvid=XP.UBiRvcB8o7L3s3e_ws6vWajdiQ7S2LuHGgf6XNfo-1709035236601-0.0-604800000;
68
- path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
69
- Transfer-Encoding:
70
- - chunked
71
- access-control-allow-origin:
72
- - '*'
73
- alt-svc:
74
- - h3=":443"; ma=86400
75
- openai-model:
76
- - gpt-3.5-turbo-0125
77
- openai-organization:
78
- - traceloop
79
- openai-processing-ms:
80
- - '763'
81
- openai-version:
82
- - '2020-10-01'
83
- strict-transport-security:
84
- - max-age=15724800; includeSubDomains
85
- x-ratelimit-limit-requests:
86
- - '5000'
87
- x-ratelimit-limit-tokens:
88
- - '160000'
89
- x-ratelimit-remaining-requests:
90
- - '4999'
91
- x-ratelimit-remaining-tokens:
92
- - '159974'
93
- x-ratelimit-reset-requests:
94
- - 12ms
95
- x-ratelimit-reset-tokens:
96
- - 9ms
97
- x-request-id:
98
- - req_ba571b1016f37b097d88dc2d9ff722ca
99
- status:
100
- code: 200
101
- message: OK
102
- - request:
103
- body: '{"messages": [{"role": "user", "content": "Tell me a joke about OpenTelemetry"}],
104
- "model": "gpt-3.5-turbo"}'
105
- headers:
106
- accept:
107
- - application/json
108
- accept-encoding:
109
- - gzip, deflate
110
- connection:
111
- - keep-alive
112
- content-length:
113
- - '107'
114
- content-type:
115
- - application/json
116
- cookie:
117
- - __cf_bm=6OMyJmXVQKbgixGmrzfEUQ2Lxs7bTxFr0rWbdpIwpdE-1709035236-1.0-ATrSdiYHD8+xMObzA+ZwowLYajT6OhzdWOzWxTSkbfqhoVWfaUWiAE77LDPTTYjfaRTNm3oVlsZuFbuTTcyseFU=;
118
- _cfuvid=XP.UBiRvcB8o7L3s3e_ws6vWajdiQ7S2LuHGgf6XNfo-1709035236601-0.0-604800000
119
- host:
120
- - api.openai.com
121
- user-agent:
122
- - OpenAI/Python 1.12.0
123
- x-stainless-arch:
124
- - arm64
125
- x-stainless-async:
126
- - 'false'
127
- x-stainless-lang:
128
- - python
129
- x-stainless-os:
130
- - MacOS
131
- x-stainless-package-version:
132
- - 1.12.0
133
- x-stainless-runtime:
134
- - CPython
135
- x-stainless-runtime-version:
136
- - 3.9.5
137
- method: POST
138
- uri: https://api.openai.com/v1/chat/completions
139
- response:
140
- body:
141
- string: !!binary |
142
- H4sIAAAAAAAAA1SRS0/DMBCE7/kVi88tSh8pbS9IiBOVqJBAICiqXGebmDpe195QAup/R+4TLj7M
143
- 5xnPrn8SAKFzMQahSsmqcqY93KwfpnfN63rN/Rc3ua+/b8Mk/3xpisentWhFBy0+UPHRdamocgZZ
144
- k91j5VEyxtTOVTpKe1m3N9iBinI00VY4bvcuszbXfkHttNPNDs6StMIgxvCWAAD87M7Y0eb4JcaQ
145
- to5KhSHIAsX4dAlAeDJRETIEHVhaFq0zVGQZ7a72c9lArnPgEmHq0D6iwQrZN5DjJxpy6KEgWHha
146
- 4TXM7MzeoJJ1wOhoYIMeQZqNbAKwl0rbIgLtITi0ubbFhTi8uz0VNlQ4T4s4nK2NOelLbXUo5x5l
147
- IBvLBSa3t28TgPfdYup/swrnqXI8Z1qhjYGdbB8nzl/xB44OkImlOeu9fnLoJ0ITGKv5UtsCvfN6
148
- v6Wlmw8HnWwgR32ZimSb/AIAAP//AwDrH+cDLwIAAA==
149
- headers:
150
- CF-Cache-Status:
151
- - DYNAMIC
152
- CF-RAY:
153
- - 85c044b58f020d68-MXP
154
- Cache-Control:
155
- - no-cache, must-revalidate
156
- Connection:
157
- - keep-alive
158
- Content-Encoding:
159
- - gzip
160
- Content-Type:
161
- - application/json
162
- Date:
163
- - Tue, 27 Feb 2024 12:00:38 GMT
164
- Server:
165
- - cloudflare
166
- Transfer-Encoding:
167
- - chunked
168
- access-control-allow-origin:
169
- - '*'
170
- alt-svc:
171
- - h3=":443"; ma=86400
172
- openai-model:
173
- - gpt-3.5-turbo-0125
174
- openai-organization:
175
- - traceloop
176
- openai-processing-ms:
177
- - '1880'
178
- openai-version:
179
- - '2020-10-01'
180
- strict-transport-security:
181
- - max-age=15724800; includeSubDomains
182
- x-ratelimit-limit-requests:
183
- - '5000'
184
- x-ratelimit-limit-tokens:
185
- - '160000'
186
- x-ratelimit-remaining-requests:
187
- - '4999'
188
- x-ratelimit-remaining-tokens:
189
- - '159974'
190
- x-ratelimit-reset-requests:
191
- - 12ms
192
- x-ratelimit-reset-tokens:
193
- - 9ms
194
- x-request-id:
195
- - req_e140fa1074dedf49709df27beef3001b
196
- status:
197
- code: 200
198
- message: OK
199
- version: 1