lmnr 0.4.17b0__py2.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.
- lmnr/__init__.py +5 -0
- lmnr/cli.py +39 -0
- lmnr/sdk/__init__.py +0 -0
- lmnr/sdk/decorators.py +66 -0
- lmnr/sdk/evaluations.py +354 -0
- lmnr/sdk/laminar.py +403 -0
- lmnr/sdk/log.py +39 -0
- lmnr/sdk/types.py +155 -0
- lmnr/sdk/utils.py +99 -0
- lmnr/traceloop_sdk/.flake8 +12 -0
- lmnr/traceloop_sdk/.python-version +1 -0
- lmnr/traceloop_sdk/__init__.py +89 -0
- lmnr/traceloop_sdk/config/__init__.py +9 -0
- lmnr/traceloop_sdk/decorators/__init__.py +0 -0
- lmnr/traceloop_sdk/decorators/base.py +178 -0
- lmnr/traceloop_sdk/instruments.py +34 -0
- lmnr/traceloop_sdk/tests/__init__.py +1 -0
- lmnr/traceloop_sdk/tests/cassettes/test_association_properties/test_langchain_and_external_association_properties.yaml +101 -0
- lmnr/traceloop_sdk/tests/cassettes/test_association_properties/test_langchain_association_properties.yaml +99 -0
- lmnr/traceloop_sdk/tests/cassettes/test_manual/test_manual_report.yaml +98 -0
- lmnr/traceloop_sdk/tests/cassettes/test_manual/test_resource_attributes.yaml +98 -0
- lmnr/traceloop_sdk/tests/cassettes/test_privacy_no_prompts/test_simple_workflow.yaml +199 -0
- lmnr/traceloop_sdk/tests/cassettes/test_prompt_management/test_prompt_management.yaml +202 -0
- lmnr/traceloop_sdk/tests/cassettes/test_sdk_initialization/test_resource_attributes.yaml +199 -0
- lmnr/traceloop_sdk/tests/cassettes/test_tasks/test_task_io_serialization_with_langchain.yaml +96 -0
- lmnr/traceloop_sdk/tests/cassettes/test_workflows/test_simple_aworkflow.yaml +98 -0
- lmnr/traceloop_sdk/tests/cassettes/test_workflows/test_simple_workflow.yaml +199 -0
- lmnr/traceloop_sdk/tests/cassettes/test_workflows/test_streaming_workflow.yaml +167 -0
- lmnr/traceloop_sdk/tests/conftest.py +111 -0
- lmnr/traceloop_sdk/tests/test_association_properties.py +229 -0
- lmnr/traceloop_sdk/tests/test_manual.py +48 -0
- lmnr/traceloop_sdk/tests/test_nested_tasks.py +47 -0
- lmnr/traceloop_sdk/tests/test_privacy_no_prompts.py +50 -0
- lmnr/traceloop_sdk/tests/test_sdk_initialization.py +57 -0
- lmnr/traceloop_sdk/tests/test_tasks.py +32 -0
- lmnr/traceloop_sdk/tests/test_workflows.py +262 -0
- lmnr/traceloop_sdk/tracing/__init__.py +1 -0
- lmnr/traceloop_sdk/tracing/attributes.py +9 -0
- lmnr/traceloop_sdk/tracing/content_allow_list.py +24 -0
- lmnr/traceloop_sdk/tracing/context_manager.py +13 -0
- lmnr/traceloop_sdk/tracing/tracing.py +913 -0
- lmnr/traceloop_sdk/utils/__init__.py +26 -0
- lmnr/traceloop_sdk/utils/in_memory_span_exporter.py +61 -0
- lmnr/traceloop_sdk/utils/json_encoder.py +20 -0
- lmnr/traceloop_sdk/utils/package_check.py +8 -0
- lmnr/traceloop_sdk/version.py +1 -0
- lmnr-0.4.17b0.dist-info/LICENSE +75 -0
- lmnr-0.4.17b0.dist-info/METADATA +250 -0
- lmnr-0.4.17b0.dist-info/RECORD +50 -0
- lmnr-0.4.17b0.dist-info/WHEEL +4 -0
@@ -0,0 +1,98 @@
|
|
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.35.13
|
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.35.13
|
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
|
+
H4sIAAAAAAAAA1SRT2/CMAzF7/0UXi67AGphhcFlGmib2DhO2mGaUEhNG0jjKHE1EOK7Tyn/tIsP
|
40
|
+
7+fnPDuHBEDoQkxAqEqyqp3pjs3i/W3cX3zwc77D9fbVvZSfZj6bTeeboehEB602qPji6imqnUHW
|
41
|
+
ZE9YeZSMcWo26mfpKB3kjy2oqUATbaXj7qCXd7nxK+qmWT8/OyvSCoOYwHcCAHBoa8xoC9yJCaSd
|
42
|
+
i1JjCLJEMbk2AQhPJipChqADS8uic4OKLKNtY39Veyh0AVwhKCoQPK6bgMAEJcUagZOe908wRSUj
|
43
|
+
0xwt9p7hV1puW5FByaasGLQFaYEcWkaDNbLfA3vp7sT5/eM1uKHSeVrFJW1jzFVfa6tDtfQoA9kY
|
44
|
+
MjC5k/2YAPy0B2r+7Sycp9rxkmmLNg7M8tM4cfuSG+wPz5CJpbnpD1lyzifCPjDWy7W2JXrndXut
|
45
|
+
mDI5Jn8AAAD//wMA+iUaUiwCAAA=
|
46
|
+
headers:
|
47
|
+
CF-Cache-Status:
|
48
|
+
- DYNAMIC
|
49
|
+
CF-RAY:
|
50
|
+
- 8a3c06ec694fada4-ATL
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
Content-Encoding:
|
54
|
+
- gzip
|
55
|
+
Content-Type:
|
56
|
+
- application/json
|
57
|
+
Date:
|
58
|
+
- Mon, 15 Jul 2024 19:05:59 GMT
|
59
|
+
Server:
|
60
|
+
- cloudflare
|
61
|
+
Set-Cookie:
|
62
|
+
- __cf_bm=7r92jUdUEA4wJGNCNqX1y_usNja6ZbX4SM4xdbD8r3E-1721070359-1.0.1.1-se82CXovc7ndM.lFT9BKWR72qvK2lRgsPlK5YnmE9otDNYE8e9R9v3CMBKy3SHO9cHAlhedMkC0x0GHKzILUPA;
|
63
|
+
path=/; expires=Mon, 15-Jul-24 19:35:59 GMT; domain=.api.openai.com; HttpOnly;
|
64
|
+
Secure; SameSite=None
|
65
|
+
- _cfuvid=DQePSM_v9bEa3hSaZw7w90aZlxFtRtbZunAmUoOiG98-1721070359012-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
|
+
- '443'
|
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
|
+
- '160000'
|
85
|
+
x-ratelimit-remaining-requests:
|
86
|
+
- '4999'
|
87
|
+
x-ratelimit-remaining-tokens:
|
88
|
+
- '159974'
|
89
|
+
x-ratelimit-reset-requests:
|
90
|
+
- 12ms
|
91
|
+
x-ratelimit-reset-tokens:
|
92
|
+
- 9ms
|
93
|
+
x-request-id:
|
94
|
+
- req_2c640127e33a8865f70ee056e6105cf3
|
95
|
+
status:
|
96
|
+
code: 200
|
97
|
+
message: OK
|
98
|
+
version: 1
|
@@ -0,0 +1,199 @@
|
|
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
|
+
H4sIAAAAAAAAA1SRT08CMRDF7/spxp7B7C4uAhcvmph4UCOJUWNIaQe20O2UdhAJ4bubLv/ipUnf
|
40
|
+
62/mzXSXAQijxQiEqiWrxtvuYLN6fRxsn6Yv47D8xAcX7lfFm6p79LFA0UkETReo+ERdK2q8RTbk
|
41
|
+
DrYKKBlT1eI2H+a9qiyHrdGQRpuwuedu77rq8jpMqZsXZXUkazIKoxjBVwYAsGvPlNFp/BUjyDsn
|
42
|
+
pcEY5RzF6PwIQASySREyRhNZOhadi6nIMbo29nu9BW00cI2g8QdUoBjbWyCp72BMoMhaVAwcpMII
|
43
|
+
0mlokINRETaGa3j26MZoMYlbINfSxDUGiEbjlTg23p8TW5r7QNM0nVtbe9ZnxplYTwLKSC6li0z+
|
44
|
+
gO8zgO92M+t/wwofqPE8YVqiSwWL6lBOXP7iYpbl0WRiaS967zY75hNxGxmbycy4OQYfzGFNMz8Z
|
45
|
+
9IuqL4c3MhfZPvsDAAD//wMAV54iVjACAAA=
|
46
|
+
headers:
|
47
|
+
CF-Cache-Status:
|
48
|
+
- DYNAMIC
|
49
|
+
CF-RAY:
|
50
|
+
- 85c0448828840e5e-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:30 GMT
|
61
|
+
Server:
|
62
|
+
- cloudflare
|
63
|
+
Set-Cookie:
|
64
|
+
- __cf_bm=Xb6mCWbBagmShltSWFwqOKEVd5q6lMWkEueIFisv7YQ-1709035230-1.0-AVC4eQHbmDsGbqpJuZlyWoj5ymcMEy6Y/SmXIsUnUTGYzytdzNTTHKvEvVOu5hfCbnmk2CXkSpIv8lVLcI32fh4=;
|
65
|
+
path=/; expires=Tue, 27-Feb-24 12:30:30 GMT; domain=.api.openai.com; HttpOnly;
|
66
|
+
Secure; SameSite=None
|
67
|
+
- _cfuvid=IXNdTVkx38lKQQx7xdYqBSnh5gs9MTnfD0vxL.qgwg0-1709035230380-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
|
+
- '723'
|
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_2c5a043a03f9aaa845f099f44e9ed13b
|
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=Xb6mCWbBagmShltSWFwqOKEVd5q6lMWkEueIFisv7YQ-1709035230-1.0-AVC4eQHbmDsGbqpJuZlyWoj5ymcMEy6Y/SmXIsUnUTGYzytdzNTTHKvEvVOu5hfCbnmk2CXkSpIv8lVLcI32fh4=;
|
118
|
+
_cfuvid=IXNdTVkx38lKQQx7xdYqBSnh5gs9MTnfD0vxL.qgwg0-1709035230380-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
|
+
H4sIAAAAAAAAA1SRQUsDMRCF7/srxly8WNm2rtpeRA9KQaqiIChS0mR2Nzabiclsa5H+d8m2tnjJ
|
143
|
+
4b35Hm8mPxmAMFqMQahasmq87V2uvp4m0+VrfnvtzLRspvrl/nPwtpqMCr0SJ4mg+Scq/qNOFTXe
|
144
|
+
IhtyW1sFlIwptX+Rj/JhMRjmndGQRpuwynNveFr0uA1z6uX9QbEjazIKoxjDewYA8NO9qaPT+C3G
|
145
|
+
0OV0SoMxygrFeD8EIALZpAgZo4ksHYuTg6nIMbqu9mu9Bm00cI3w4NExWmyQwxo0LtGSxwDzgHIB
|
146
|
+
rYeV4TpNmgB3j89XcINKthHBMChqrXbHDKVxGiRE4yqLwEEqBCp3lKUlHoldkc1+A0uVDzRP27rW
|
147
|
+
2r1eGmdiPQsoI7nUNjL5Lb7JAD66S7X/lhc+UON5xrRAlwL7xTZOHP7mYA7+TCaW9qCf5dmun4jr
|
148
|
+
yNjMSuMqDD6Y7dlKP7s87xfncnQmc5Ftsl8AAAD//wMAlg6FOUACAAA=
|
149
|
+
headers:
|
150
|
+
CF-Cache-Status:
|
151
|
+
- DYNAMIC
|
152
|
+
CF-RAY:
|
153
|
+
- 85c0448e1c3e0e5e-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:31 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
|
+
- '572'
|
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_5ea733f4c66254ebb15afacdf0fd0ee5
|
196
|
+
status:
|
197
|
+
code: 200
|
198
|
+
message: OK
|
199
|
+
version: 1
|
@@ -0,0 +1,202 @@
|
|
1
|
+
interactions:
|
2
|
+
- request:
|
3
|
+
body: '{"messages": [{"role": "user", "content": "Tell me a joke about OpenTelemetry,
|
4
|
+
pirate style"}], "model": "gpt-3.5-turbo", "frequency_penalty": 0.0, "presence_penalty":
|
5
|
+
0.0, "temperature": 1.0, "top_p": 1.0}'
|
6
|
+
headers:
|
7
|
+
accept:
|
8
|
+
- application/json
|
9
|
+
accept-encoding:
|
10
|
+
- gzip, deflate
|
11
|
+
connection:
|
12
|
+
- keep-alive
|
13
|
+
content-length:
|
14
|
+
- '206'
|
15
|
+
content-type:
|
16
|
+
- application/json
|
17
|
+
host:
|
18
|
+
- api.openai.com
|
19
|
+
user-agent:
|
20
|
+
- OpenAI/Python 1.12.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.12.0
|
31
|
+
x-stainless-runtime:
|
32
|
+
- CPython
|
33
|
+
x-stainless-runtime-version:
|
34
|
+
- 3.9.5
|
35
|
+
method: POST
|
36
|
+
uri: https://api.openai.com/v1/chat/completions
|
37
|
+
response:
|
38
|
+
body:
|
39
|
+
string: !!binary |
|
40
|
+
H4sIAAAAAAAAA1SRMW/bMBCFd/2Kyy1d7ECyrNTxEsRjO7QFiqZAVRg0dZaYkjyWPLUxAv/3grJj
|
41
|
+
owuH9/E9vju+FgBoOlwD6kGJdsHOV39/f/nw7U/ln5cfx9Vh82IWy8/qe0n0lDY4yw7ePZOWN9et
|
42
|
+
ZhcsiWF/wjqSEsqp1fvyvqybRV1NwHFHNtv6IPP6tpnLGHc8L6tFc3YObDQlXMOPAgDgdTpzR9/R
|
43
|
+
C66hnL0pjlJSPeH6cgkAI9usoErJJFFecHaFmr2Qn2o/DQfoTAcyEAQTlRCMieBTIP+VLDmSeHiA
|
44
|
+
1rd+Q1plNBB4oo46EIYWnQotAo8yRUgklcZIoAdK8i5Bi8GOvqO45+iU19Qi5FCj0w08xhj74QbP
|
45
|
+
zY6XkSz3IfIuj+9Hay/63niThm1+hH2un4TDyX4sAH5Oqxv/2waGyC7IVvgX+RxYrU5xeP2sK6zr
|
46
|
+
MxQWZa96UxXnfpgOScht98b3FEM0pz3uw3Z1VzV36n6pSiyOxT8AAAD//wMALyBo+lECAAA=
|
47
|
+
headers:
|
48
|
+
CF-Cache-Status:
|
49
|
+
- DYNAMIC
|
50
|
+
CF-RAY:
|
51
|
+
- 85c04495087659e9-MXP
|
52
|
+
Cache-Control:
|
53
|
+
- no-cache, must-revalidate
|
54
|
+
Connection:
|
55
|
+
- keep-alive
|
56
|
+
Content-Encoding:
|
57
|
+
- gzip
|
58
|
+
Content-Type:
|
59
|
+
- application/json
|
60
|
+
Date:
|
61
|
+
- Tue, 27 Feb 2024 12:00:32 GMT
|
62
|
+
Server:
|
63
|
+
- cloudflare
|
64
|
+
Set-Cookie:
|
65
|
+
- __cf_bm=LoJ2ZkCANwIqvi6X3zsB_pSZBAQV8b8_h6miKLqayFA-1709035232-1.0-AXd2vlSgAt1d5qFXyzZa1shIzwyXYdM4w3Q/BIEZg6/X+kjSX9gtdZ1JqATyO5wgV/Y3qvZkVEyORfaQrvAaufY=;
|
66
|
+
path=/; expires=Tue, 27-Feb-24 12:30:32 GMT; domain=.api.openai.com; HttpOnly;
|
67
|
+
Secure; SameSite=None
|
68
|
+
- _cfuvid=O7d.J_kaKidtjrPfjEuOEWuKBIYColpIz74xLCFIKSE-1709035232387-0.0-604800000;
|
69
|
+
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
70
|
+
Transfer-Encoding:
|
71
|
+
- chunked
|
72
|
+
access-control-allow-origin:
|
73
|
+
- '*'
|
74
|
+
alt-svc:
|
75
|
+
- h3=":443"; ma=86400
|
76
|
+
openai-model:
|
77
|
+
- gpt-3.5-turbo-0125
|
78
|
+
openai-organization:
|
79
|
+
- traceloop
|
80
|
+
openai-processing-ms:
|
81
|
+
- '670'
|
82
|
+
openai-version:
|
83
|
+
- '2020-10-01'
|
84
|
+
strict-transport-security:
|
85
|
+
- max-age=15724800; includeSubDomains
|
86
|
+
x-ratelimit-limit-requests:
|
87
|
+
- '5000'
|
88
|
+
x-ratelimit-limit-tokens:
|
89
|
+
- '160000'
|
90
|
+
x-ratelimit-remaining-requests:
|
91
|
+
- '4999'
|
92
|
+
x-ratelimit-remaining-tokens:
|
93
|
+
- '159971'
|
94
|
+
x-ratelimit-reset-requests:
|
95
|
+
- 12ms
|
96
|
+
x-ratelimit-reset-tokens:
|
97
|
+
- 10ms
|
98
|
+
x-request-id:
|
99
|
+
- req_47026d43d59fb48f5b82610faec6dc0f
|
100
|
+
status:
|
101
|
+
code: 200
|
102
|
+
message: OK
|
103
|
+
- request:
|
104
|
+
body: '{"messages": [{"role": "user", "content": "Tell me a joke about OpenTelemetry,
|
105
|
+
pirate style"}], "model": "gpt-3.5-turbo", "frequency_penalty": 0.0, "presence_penalty":
|
106
|
+
0.0, "temperature": 1.0, "top_p": 1.0}'
|
107
|
+
headers:
|
108
|
+
accept:
|
109
|
+
- application/json
|
110
|
+
accept-encoding:
|
111
|
+
- gzip, deflate
|
112
|
+
connection:
|
113
|
+
- keep-alive
|
114
|
+
content-length:
|
115
|
+
- '206'
|
116
|
+
content-type:
|
117
|
+
- application/json
|
118
|
+
cookie:
|
119
|
+
- __cf_bm=LoJ2ZkCANwIqvi6X3zsB_pSZBAQV8b8_h6miKLqayFA-1709035232-1.0-AXd2vlSgAt1d5qFXyzZa1shIzwyXYdM4w3Q/BIEZg6/X+kjSX9gtdZ1JqATyO5wgV/Y3qvZkVEyORfaQrvAaufY=;
|
120
|
+
_cfuvid=O7d.J_kaKidtjrPfjEuOEWuKBIYColpIz74xLCFIKSE-1709035232387-0.0-604800000
|
121
|
+
host:
|
122
|
+
- api.openai.com
|
123
|
+
user-agent:
|
124
|
+
- OpenAI/Python 1.12.0
|
125
|
+
x-stainless-arch:
|
126
|
+
- arm64
|
127
|
+
x-stainless-async:
|
128
|
+
- 'false'
|
129
|
+
x-stainless-lang:
|
130
|
+
- python
|
131
|
+
x-stainless-os:
|
132
|
+
- MacOS
|
133
|
+
x-stainless-package-version:
|
134
|
+
- 1.12.0
|
135
|
+
x-stainless-runtime:
|
136
|
+
- CPython
|
137
|
+
x-stainless-runtime-version:
|
138
|
+
- 3.9.5
|
139
|
+
method: POST
|
140
|
+
uri: https://api.openai.com/v1/chat/completions
|
141
|
+
response:
|
142
|
+
body:
|
143
|
+
string: !!binary |
|
144
|
+
H4sIAAAAAAAAA1SRT28TMRTE7/spHj4n1W7SLUkuCA60AqQCQq0ERdGL/Xbt1v+w3zZEVb47crJN
|
145
|
+
xMWH+XlG4/FLBSCMEisQUiNLF+10sf3z7bP8dF1/f1J3z1/e//wY8evtdX/TtTMvJsURNo8k+dV1
|
146
|
+
IYOLltiEEctEyFRSm7f1sp63s/nsAFxQZIutjzydX7RTHtImTOtm1o5OHYykLFbwqwIAeDmcpaNX
|
147
|
+
9FesoJ68Ko5yxp7E6nQJQKRgiyIwZ5MZPYvJGcrgmfyh9r3egTIKWBNEk5AJhkxwG8n/IEuOOO3e
|
148
|
+
wYN/8B9IYkGGQZONpEAbBx6fTV9cJYATodSUwpBhi0wpQ+hAmczJbAYmBZxQGt/D1rAGwkwTwJQS
|
149
|
+
OGTavRFjxf3pbTb0MYVN2cEP1p70zniT9ToR5uDLOzKHeLTvK4Dfhw2H/2YRMQUXec3hiXwJbBbH
|
150
|
+
OHH+tTOcNyPkwGjP+uWyGvuJvMtMbt0Z31OKyRwH7eJ6cdW0V7i8xFpU++ofAAAA//8DALH1FP5a
|
151
|
+
AgAA
|
152
|
+
headers:
|
153
|
+
CF-Cache-Status:
|
154
|
+
- DYNAMIC
|
155
|
+
CF-RAY:
|
156
|
+
- 85c0449a999e59e9-MXP
|
157
|
+
Cache-Control:
|
158
|
+
- no-cache, must-revalidate
|
159
|
+
Connection:
|
160
|
+
- keep-alive
|
161
|
+
Content-Encoding:
|
162
|
+
- gzip
|
163
|
+
Content-Type:
|
164
|
+
- application/json
|
165
|
+
Date:
|
166
|
+
- Tue, 27 Feb 2024 12:00:33 GMT
|
167
|
+
Server:
|
168
|
+
- cloudflare
|
169
|
+
Transfer-Encoding:
|
170
|
+
- chunked
|
171
|
+
access-control-allow-origin:
|
172
|
+
- '*'
|
173
|
+
alt-svc:
|
174
|
+
- h3=":443"; ma=86400
|
175
|
+
openai-model:
|
176
|
+
- gpt-3.5-turbo-0125
|
177
|
+
openai-organization:
|
178
|
+
- traceloop
|
179
|
+
openai-processing-ms:
|
180
|
+
- '905'
|
181
|
+
openai-version:
|
182
|
+
- '2020-10-01'
|
183
|
+
strict-transport-security:
|
184
|
+
- max-age=15724800; includeSubDomains
|
185
|
+
x-ratelimit-limit-requests:
|
186
|
+
- '5000'
|
187
|
+
x-ratelimit-limit-tokens:
|
188
|
+
- '160000'
|
189
|
+
x-ratelimit-remaining-requests:
|
190
|
+
- '4999'
|
191
|
+
x-ratelimit-remaining-tokens:
|
192
|
+
- '159971'
|
193
|
+
x-ratelimit-reset-requests:
|
194
|
+
- 12ms
|
195
|
+
x-ratelimit-reset-tokens:
|
196
|
+
- 10ms
|
197
|
+
x-request-id:
|
198
|
+
- req_f362faa68fe4f881612cbf58af4e0a73
|
199
|
+
status:
|
200
|
+
code: 200
|
201
|
+
message: OK
|
202
|
+
version: 1
|
@@ -0,0 +1,199 @@
|
|
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
|