mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-24 16:42:24 +02:00
212 lines
7.1 KiB
YAML
212 lines
7.1 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"content": "You are a helpful AI assistant, please respond
|
|
to the users query to the best of your ability!", "role": "system"}, {"content":
|
|
"what is the weather in sf", "role": "user"}], "model": "gpt-4o-mini", "n":
|
|
1, "stream": false, "temperature": 0.7, "tools": [{"type": "function", "function":
|
|
{"name": "get_weather", "description": "Call to get the weather from a specific
|
|
location.", "parameters": {"type": "object", "properties": {"location": {"type":
|
|
"string"}}, "required": ["location"]}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '516'
|
|
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 |
|
|
H4sIAAAAAAAAA2xSXW/aMBR9z6+w7jOpgFACeUPVVqldtGpMqrYxRa5zE0z9VdvZqBD/fXIIJEXz
|
|
Q2Sd43PuybEPESHAS8gIsC31TBoRr+a7/fzr0yf1nN/WjdBv6/wxTxLefPuyeoRRUOiXHTJ/Vt0w
|
|
LY1Az7U60cwi9RhcJ+l0Ppkvl+m0JaQuUQRZbXw807HkisfT8XQWj9N4sujUW80ZOsjIr4gQQg7t
|
|
N+RUJe4hI+PRGZHoHK0RssshQsBqERCgznHnqfIw6kmmlUcVoqtGiAHhtRYFo0L0g0/rMNj3ZVEh
|
|
ivs1VeatuvuJ+Y+H/fd851ny5z6fDeadrN9NG6hqFLuUNOAveHY1jBBQVLbaGn3xF6nfor2SEwLU
|
|
1o1E5UN0OGxAaEaD4QayDaypIp8tVYw7pkfkbrWBI3xwOEb/2/8elGOxahwVXWsdfrxcg9C1sfrF
|
|
XbUKFVfcbQuL1LV/Nyw5Ok9r50Dz4R7BWC2NL7x+RRVs0+RkCv1T68lJ2pFeeyp6fDmOupTg3p1H
|
|
WVRc1WiN5e0LgMoUs0VSJstycZtCdIz+AQAA//8DAMiR9d4PAwAA
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c225d360d540cc4-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:39:32 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=8vzRAb.wAdDeflq64jIqrV9LqOesVFgQa4y3jffqi2w-1726169972-1.0.1.1-p1H3dAq03ThXUN5213eYmBl_JJTPm2CrUbk.R9u13wtMQsADekWytxvvUycHQ9LPoGgPpXXqCZFIdnVlWI4uyg;
|
|
path=/; expires=Thu, 12-Sep-24 20:09:32 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
- _cfuvid=Wq5dLc7R8BI6ubL_20WsgA4pcax5aYm.HjryZ0EkNuk-1726169972592-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:
|
|
- '233'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '30000'
|
|
x-ratelimit-limit-tokens:
|
|
- '150000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '29999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '149999951'
|
|
x-ratelimit-reset-requests:
|
|
- 2ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_5fdb6f0dd8c560ec9d0a2e62c31b5552
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"content": "You are a helpful AI assistant, please respond
|
|
to the users query to the best of your ability!", "role": "system"}, {"content":
|
|
"what is the weather in sf", "role": "user"}, {"content": null, "role": "assistant",
|
|
"tool_calls": [{"type": "function", "id": "call_GSanpqfCZeMYJxTMjtc3vGM4", "function":
|
|
{"name": "get_weather", "arguments": "{\"location\": \"San Francisco, CA\"}"}}]},
|
|
{"content": "\"It''s sunny in San Francisco, but you better look out if you''re
|
|
a Gemini \\ud83d\\ude08.\"", "role": "tool", "tool_call_id": "call_GSanpqfCZeMYJxTMjtc3vGM4"}],
|
|
"model": "gpt-4o-mini", "n": 1, "stream": false, "temperature": 0.7, "tools":
|
|
[{"type": "function", "function": {"name": "get_weather", "description": "Call
|
|
to get the weather from a specific location.", "parameters": {"type": "object",
|
|
"properties": {"location": {"type": "string"}}, "required": ["location"]}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '897'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=8vzRAb.wAdDeflq64jIqrV9LqOesVFgQa4y3jffqi2w-1726169972-1.0.1.1-p1H3dAq03ThXUN5213eYmBl_JJTPm2CrUbk.R9u13wtMQsADekWytxvvUycHQ9LPoGgPpXXqCZFIdnVlWI4uyg;
|
|
_cfuvid=Wq5dLc7R8BI6ubL_20WsgA4pcax5aYm.HjryZ0EkNuk-1726169972592-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 |
|
|
H4sIAAAAAAAAAwAAAP//VJFPb6MwEMXvfIqpL72EKpAUktyqqn/2tmp7W60ixwzg1Hgsj2mKqnz3
|
|
lQlNuhcO7zdvePP8lQAIXYkNCNXKoDpn0rti/1m8Pvhc3t0//ioZ25e3J1//XoRKfohZdNBujyp8
|
|
u24Udc5g0GRPWHmUAePWrMyLrFivy3wEHVVooq1xIV1S2mmr03yeL9N5mWaryd2SVshiA38SAICv
|
|
8Rtz2go/xQbms2+lQ2bZoNichwCEJxMVIZk1B2mDmF2gIhvQjtHfWoQDytCiB23hVVp49NIqzYpA
|
|
M3Bv7XAFz3TAD/Qz0AEYsWOIDrxmkOCMHOrewEF6q20DNXl4wngV38CD3dMQh2GHsg86DlZyuPoZ
|
|
x2Pds4yV2N6YST+e7zPUOE87nvhZr+Mf2q1HyWTjLRzIiZEeE4C/Y4/9f9UI56lzYRvoHW1cmOXZ
|
|
aZ+4PN+F5sUEAwVpfriWZTIlFDxwwG5ba9ugd16faq3ddrlaVIt1tbotRXJM/gEAAP//AwC1tUbi
|
|
ZAIAAA==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c225d3969410cc4-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:39:33 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:
|
|
- '235'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '30000'
|
|
x-ratelimit-limit-tokens:
|
|
- '150000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '29999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '149999927'
|
|
x-ratelimit-reset-requests:
|
|
- 2ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_79abdce764361067cefbdb59249d15d2
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|