mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-27 20:15:00 +02:00
206 lines
6.6 KiB
YAML
206 lines
6.6 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"content": "what is the weather in sf", "role": "user"}],
|
|
"model": "gpt-4o", "n": 1, "stream": false, "temperature": 0.0, "tools": [{"type":
|
|
"function", "function": {"name": "get_weather", "description": "Use this to
|
|
get weather information.", "parameters": {"type": "object", "properties": {"city":
|
|
{"enum": ["nyc", "sf"], "type": "string"}}, "required": ["city"]}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '384'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.9
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA2xS0WrbMBR991eI+xwP20ls6rdCxlaWrowyRlmGUZVrW5ksqdJ12xDy78OOE7th
|
|
ejDiHJ17jo90CBgDuYWcgag5icaq8Dbdvb1Hn7/f197EP15/rbKvdzuzfmhX3+QaZp3CPO9Q0Fn1
|
|
SZjGKiRp9IkWDjlhNzXOkjROb27SeU80Zouqk1WWwoUJkyhZhNEyjOeDsDZSoIec/Q4YY+zQf7uI
|
|
eovvkLNodkYa9J5XCPnlEGPgjOoQ4N5LT1wTzEZSGE2ou9S6VWpCkDGqEFyp0fi0DpP92BNXqti5
|
|
6GX1+KW8rVZ3j0+vL/c+e3pwP9cTv9Pove0Dla0Wl34m/AXPr8wYA82bXlshFW/IqUZ3JWcMuKva
|
|
BjV10eGwASFpv4F8A77cwBE+HD8G/9v/mTThsGw9V0NFA368dK5MZZ159lcVQim19HXhkPv+V6aN
|
|
Bme33gfaD5cG1pnGUkHmL+pu7DI7DYXxSY1kvBhIMsTViGdxMKQEv/eETVFKXaGzTvbXDaUtkmWa
|
|
LDjO+RKCY/APAAD//wMAWNDDmPcCAAA=
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c225cfe0c9743fa-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:39:23 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=NgMqtKZYQmOTwI_2kc61RsNkWoRlEVP1ZFMqtUx3F18-1726169963-1.0.1.1-qieE0K7jZPfSKcZnl2V7EJQUKxr0iJ0Uurhz094VNw3M6NuIGZVseBzjVflxSLsxo0vfCzgS.UesZAq4QSUTSg;
|
|
path=/; expires=Thu, 12-Sep-24 20:09:23 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
- _cfuvid=Qzs8YMGO9lclC2IxSwHUn7hvLx70g_PJdxYpahEIVqY-1726169963686-0.0.1.1-604800000;
|
|
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- langchain
|
|
openai-processing-ms:
|
|
- '353'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '30000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '29999975'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_74e11f4f69bee782dc5f9457996535c0
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"content": "what is the weather in sf", "role": "user"},
|
|
{"content": null, "role": "assistant", "tool_calls": [{"type": "function", "id":
|
|
"call_jr0qDSGfAgDISYvqMs7YOrUL", "function": {"name": "get_weather", "arguments":
|
|
"{\"city\": \"sf\"}"}}]}, {"content": "It''s always sunny in sf", "role": "tool",
|
|
"tool_call_id": "call_jr0qDSGfAgDISYvqMs7YOrUL"}], "model": "gpt-4o", "n": 1,
|
|
"stream": false, "temperature": 0.0, "tools": [{"type": "function", "function":
|
|
{"name": "get_weather", "description": "Use this to get weather information.",
|
|
"parameters": {"type": "object", "properties": {"city": {"enum": ["nyc", "sf"],
|
|
"type": "string"}}, "required": ["city"]}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '678'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=NgMqtKZYQmOTwI_2kc61RsNkWoRlEVP1ZFMqtUx3F18-1726169963-1.0.1.1-qieE0K7jZPfSKcZnl2V7EJQUKxr0iJ0Uurhz094VNw3M6NuIGZVseBzjVflxSLsxo0vfCzgS.UesZAq4QSUTSg;
|
|
_cfuvid=Qzs8YMGO9lclC2IxSwHUn7hvLx70g_PJdxYpahEIVqY-1726169963686-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.9
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA1SQzW6DMBCE7zzFyucQJZDSwq09RFUvVZX2VFXIMQs4Aa/lNflRlHevIDRJLz7M
|
|
tzOe3VMAIHQhMhCqll61tgmfk83+8L5LPpZ6FS+Tw4vfva0cl9uv9pXEpHfQeoPK/7mmilrboNdk
|
|
Llg5lB771PljlMyTNE3iAbRUYNPbKuvDBYXRLFqEs4dwHo/GmrRCFhl8BwAAp+HtK5oCDyKD2eRP
|
|
aZFZViiy6xCAcNT0ipDMmr00XkxuUJHxaIbWnzXCHqWv0YE2sJIGlk4apVkRaAbujDlO780Oy45l
|
|
3910TTPq52ubhirraM0jv+qlNprr3KFkMv3P7MmKgZ4DgJ9h6+7fIsI6aq3PPW3R9IFPi0ucuJ35
|
|
BtORefKyuZPjYKwn+Mge27zUpkJnnb5coLR5mkbFHGUaFSI4B78AAAD//wMA2Wf88AoCAAA=
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c225d01a9f343fa-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:39:29 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- langchain
|
|
openai-processing-ms:
|
|
- '5293'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '30000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '29999968'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_c3d497f3bff42e23344cb9573554d520
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|