mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-12 20:57:52 +02:00
536 lines
15 KiB
YAML
536 lines
15 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "Generate
|
|
a comma separated list of between 2 and 5 examples related to: animals."}],
|
|
"model": "claude-3-5-sonnet-20240620", "tool_choice": {"type": "tool", "name":
|
|
"Subjects"}, "tools": [{"name": "Subjects", "description": "", "input_schema":
|
|
{"type": "object", "properties": {"subjects": {"type": "array", "items": {"type":
|
|
"string"}}}, "required": ["subjects"]}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
anthropic-version:
|
|
- '2023-06-01'
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '429'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.anthropic.com
|
|
user-agent:
|
|
- Anthropic/Python 0.34.2
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 0.34.2
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.9
|
|
method: POST
|
|
uri: https://api.anthropic.com/v1/messages
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA1SQQU/CQBCF/8s7b5NSCoY9ysUEPSiYqIQ0azuUlWW2MruiafrfzUJI9DjfzHvz
|
|
8nrYBhoHaat8NKft3er0WNqx7O2yNIuZObWvUAg/HaUrEjEtQeHoXQJGxEowHKBw8A05aNTOxIay
|
|
cTbJxDNTyIq8KPNpkUOh9hyIA/S6v5oG710VJbmeo6Q5VvlouizkdvfMfr64f/n+qndPD4vVGxTY
|
|
HJJuGd8/qA6SdNzFAN1Drkyv4axnKJCjbndJ2BG30SbY2qPZbgmbYdgoSPBddSQjnv/nOS+EPiNx
|
|
TdAcnVOI5wp0f/laBb8nFujxZKbgY/jLypth+AUAAP//AwBtSmEQYQEAAA==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c226513a9570ca2-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:44:55 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Robots-Tag:
|
|
- none
|
|
anthropic-ratelimit-requests-limit:
|
|
- '4000'
|
|
anthropic-ratelimit-requests-remaining:
|
|
- '3999'
|
|
anthropic-ratelimit-requests-reset:
|
|
- '2024-09-12T19:45:54Z'
|
|
anthropic-ratelimit-tokens-limit:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-remaining:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-reset:
|
|
- '2024-09-12T19:44:55Z'
|
|
request-id:
|
|
- req_019eMp4abwJHk4YRAhhkn9wm
|
|
via:
|
|
- 1.1 google
|
|
x-cloud-trace-context:
|
|
- 9d80228965ab298a04dd072ad7026873
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "Generate
|
|
a joke about lion"}], "model": "claude-3-5-sonnet-20240620", "tool_choice":
|
|
{"type": "tool", "name": "Joke"}, "tools": [{"name": "Joke", "description":
|
|
"", "input_schema": {"type": "object", "properties": {"joke": {"type": "string"}},
|
|
"required": ["joke"]}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
anthropic-version:
|
|
- '2023-06-01'
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '331'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.anthropic.com
|
|
user-agent:
|
|
- Anthropic/Python 0.34.2
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 0.34.2
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.9
|
|
method: POST
|
|
uri: https://api.anthropic.com/v1/messages
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA1SQT0vDQBDFv8o6Fy8bSNu0xb0IwT9FwYOF9iAStptJG7vdSTuzYgj57pKIoMf3
|
|
5r3Hj+mgLsHAifdFOllunldf+fqSLedb2j/a3QbvXxxokLbBIYXMdo+g4UJ+MCxzzWKDgIYTlejB
|
|
gPM2lpjMknnCFAJKMk2nWbqYpqDBURAMAuat+x0VIl9EHlZHlEHHIp3cNOvP1+zMOe7ucm4f1hWv
|
|
eAEagj0NvSc6jp3QRAHTwcegDWwPrSopXIvyNQVWvj6iqiyLqojKW5Wjs5FRyQFb5ewQdFbcQdVy
|
|
BX3/roGFmuKClin8xxsPjOeIwSGYEL3XEMePmO4HpBA6YmAws1mmgaL89bJF338DAAD//wMAjL3D
|
|
YHABAAA=
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c22651e189e422d-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:44:57 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Robots-Tag:
|
|
- none
|
|
anthropic-ratelimit-requests-limit:
|
|
- '4000'
|
|
anthropic-ratelimit-requests-remaining:
|
|
- '3998'
|
|
anthropic-ratelimit-requests-reset:
|
|
- '2024-09-12T19:45:54Z'
|
|
anthropic-ratelimit-tokens-limit:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-remaining:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-reset:
|
|
- '2024-09-12T19:44:57Z'
|
|
request-id:
|
|
- req_01GBUuVCUhefneQNusq3ptsw
|
|
via:
|
|
- 1.1 google
|
|
x-cloud-trace-context:
|
|
- 62e2856915a94749f99dd2384f8fb092
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "Generate
|
|
a joke about giraffe"}], "model": "claude-3-5-sonnet-20240620", "tool_choice":
|
|
{"type": "tool", "name": "Joke"}, "tools": [{"name": "Joke", "description":
|
|
"", "input_schema": {"type": "object", "properties": {"joke": {"type": "string"}},
|
|
"required": ["joke"]}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
anthropic-version:
|
|
- '2023-06-01'
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '334'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.anthropic.com
|
|
user-agent:
|
|
- Anthropic/Python 0.34.2
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 0.34.2
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.9
|
|
method: POST
|
|
uri: https://api.anthropic.com/v1/messages
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA1RQTUvDQBD9K+tcvCSQNqbKXqSlJ0EpVKwgErbZyYfZ7sTMrrGG/HfZiKC3eW/m
|
|
vXkzIzQaJJy4ypPF+vi85X3WZcX9+nPdPaTl7rg9QgTu3GGYQmZVIUTQkwmEYm7YKesgghNpNCCh
|
|
MMprjNM4i5msRRcvk+VVslomEEFB1qF1IF/GX1NHZHLPwXWOErDPk8WB26/hqc32Kbdf14/DbmPV
|
|
TVhk1Sno7qidNbbzDuQIbwFLONRnocleOlE1vSpLZIEf2IuKmJvuVmywUJ5RuBrFQL0WA3mjBXc9
|
|
Ki1M06IYGqPLpg+FqwX7ohaGbCUsFi1fwDS9RsCOurxHxWT/3zA3GN892gJBWm9MBH5+mxx/0uaO
|
|
WrQMMk1XEZB3f7ksm6ZvAAAA//8DADFSUCGVAQAA
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c22651e1b8b8c3c-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:44:57 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Robots-Tag:
|
|
- none
|
|
anthropic-ratelimit-requests-limit:
|
|
- '4000'
|
|
anthropic-ratelimit-requests-remaining:
|
|
- '3997'
|
|
anthropic-ratelimit-requests-reset:
|
|
- '2024-09-12T19:45:54Z'
|
|
anthropic-ratelimit-tokens-limit:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-remaining:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-reset:
|
|
- '2024-09-12T19:44:57Z'
|
|
request-id:
|
|
- req_019LHoAMWDu5UocifEzdtTWT
|
|
via:
|
|
- 1.1 google
|
|
x-cloud-trace-context:
|
|
- 7ba55379b0e36b8dc92c4c61d5a81d30
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "Generate
|
|
a joke about elephant"}], "model": "claude-3-5-sonnet-20240620", "tool_choice":
|
|
{"type": "tool", "name": "Joke"}, "tools": [{"name": "Joke", "description":
|
|
"", "input_schema": {"type": "object", "properties": {"joke": {"type": "string"}},
|
|
"required": ["joke"]}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
anthropic-version:
|
|
- '2023-06-01'
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '335'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.anthropic.com
|
|
user-agent:
|
|
- Anthropic/Python 0.34.2
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 0.34.2
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.9
|
|
method: POST
|
|
uri: https://api.anthropic.com/v1/messages
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA1SQQUvDQBCF/8o6l142kLSx2r0Ioj2IgkJLS0XCkkybtpudmJm11pD/LokIenxv
|
|
5j0+Xgv7AgxUvMvi5Gm1Tpvl4XnzuDgty7V9OVytkiNokHON/Rcy2x2ChoZcb1jmPYv1AhoqKtCB
|
|
gdzZUGA0iS4jJu9RonE8TuPpOAYNOXlBL2Be299SIXJZ4L51QOl1yOJkfr3B++RrvdjM5rd3p7yZ
|
|
fnxuZ6DB26rPPdBxyPg6CJgWDr02sCrPqiA/EoUO69J6YRUYVU5VHQQbvlGLEs+jBpXdNnZfKNoq
|
|
KVFVFBgvoOveNLBQnTVomfx/wuHA+B7Q5wjGB+c0hGEU0/6wZEJH9AxmMkk1UJC/Xjrtum8AAAD/
|
|
/wMAib/IjXMBAAA=
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c22651ddb7e0ca2-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:44:57 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Robots-Tag:
|
|
- none
|
|
anthropic-ratelimit-requests-limit:
|
|
- '4000'
|
|
anthropic-ratelimit-requests-remaining:
|
|
- '3999'
|
|
anthropic-ratelimit-requests-reset:
|
|
- '2024-09-12T19:45:54Z'
|
|
anthropic-ratelimit-tokens-limit:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-remaining:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-reset:
|
|
- '2024-09-12T19:44:57Z'
|
|
request-id:
|
|
- req_0126gQvLoXFZ2J9gwQt8zSCT
|
|
via:
|
|
- 1.1 google
|
|
x-cloud-trace-context:
|
|
- be78481c75d29a0d10ecbd439a8300c0
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "Generate
|
|
a joke about penguin"}], "model": "claude-3-5-sonnet-20240620", "tool_choice":
|
|
{"type": "tool", "name": "Joke"}, "tools": [{"name": "Joke", "description":
|
|
"", "input_schema": {"type": "object", "properties": {"joke": {"type": "string"}},
|
|
"required": ["joke"]}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
anthropic-version:
|
|
- '2023-06-01'
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '334'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.anthropic.com
|
|
user-agent:
|
|
- Anthropic/Python 0.34.2
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 0.34.2
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.9
|
|
method: POST
|
|
uri: https://api.anthropic.com/v1/messages
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA1SQW2vCQBCF/8p2XnzZQIwX6r4UpKgI7YMF7YUSlmTU1WQ2zcwKIeS/l6QU2sdz
|
|
Zs7h47TgcjBQ8imNx5un8tKUQrS/LWS9en/Dzev9CjRIU2H/hcz2hKCh9kVvWGbHYklAQ+lzLMBA
|
|
VtiQYzSJZhF7IpQoiZNpPE9i0JB5EiQB89H+lor3RRq4bx1Qeh3SeLx92S0O03XiVtl8tjs/v+8f
|
|
k+UNNJAt+9zWX4cMVUHAtHDptYHDuVG5p5GoxgfFiKpCOgVHrBypZe3EOnpQS8xsYFRyxmZUo7LH
|
|
2rpc+aM62AL5DrruUwOLr9IaLXv6TzocGL8CUoZgKBSFhjCMY9ofplT8FYnBTCYzDT7IX2+66Lpv
|
|
AAAA//8DADfisDd7AQAA
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c22651e0e88423f-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:44:57 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Robots-Tag:
|
|
- none
|
|
anthropic-ratelimit-requests-limit:
|
|
- '4000'
|
|
anthropic-ratelimit-requests-remaining:
|
|
- '3999'
|
|
anthropic-ratelimit-requests-reset:
|
|
- '2024-09-12T19:45:54Z'
|
|
anthropic-ratelimit-tokens-limit:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-remaining:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-reset:
|
|
- '2024-09-12T19:44:57Z'
|
|
request-id:
|
|
- req_014WRrvgXhvv9Q4ktw5ax6Nn
|
|
via:
|
|
- 1.1 google
|
|
x-cloud-trace-context:
|
|
- 4e30e13c7248fbf03a9113305a647302
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"max_tokens": 1024, "messages": [{"role": "user", "content": "Below are
|
|
a bunch of jokes about animals. Select the best one! Return the ID of the best
|
|
one.\n \n Why don''t lions like fast food? Because they can''t catch it!\n\nWhy
|
|
don''t elephants use computers? They''re afraid of the mouse!\n\nWhy don''t
|
|
you see penguins in Britain? Because they''re afraid of Wales!\n\nWhy don''t
|
|
giraffes ever gossip? Because the word would spread like wildfire with such
|
|
long necks!"}], "model": "claude-3-5-sonnet-20240620", "tool_choice": {"type":
|
|
"tool", "name": "BestJoke"}, "tools": [{"name": "BestJoke", "description": "",
|
|
"input_schema": {"type": "object", "properties": {"id": {"description": "Index
|
|
of the best joke, starting with 0", "minimum": 0, "type": "integer"}}, "required":
|
|
["id"]}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
anthropic-version:
|
|
- '2023-06-01'
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '790'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.anthropic.com
|
|
user-agent:
|
|
- Anthropic/Python 0.34.2
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 0.34.2
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.9
|
|
method: POST
|
|
uri: https://api.anthropic.com/v1/messages
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA1SPW0vEQAyF/0uep9DLVnTe3Asrq4ggLIJImW1DWTrN1CYRaul/lykI+piTnO+c
|
|
zHBtwELPbZVm+2NNu2w/nIfn7ffl7TS9KD1cwIBMA8YrZHYtgoEx+Cg45iuLIwEDfWjQg4XaO20w
|
|
KZIy4UCEkuRpvklv8hQM1IEEScC+z79QCcFXypG6VomzVmn2KuevduoOevfEGY+FPu5u7w9ggFwf
|
|
fVtkOYVu9dGgAnZeAfmyfBhgCUM1ouNA/zPWBeOnItUIltR7A7q+FQGRVEnokBjspiwNBJW/WlEs
|
|
yw8AAAD//wMAcWJeqjUBAAA=
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c22652a79810ca2-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 12 Sep 2024 19:44:59 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Robots-Tag:
|
|
- none
|
|
anthropic-ratelimit-requests-limit:
|
|
- '4000'
|
|
anthropic-ratelimit-requests-remaining:
|
|
- '3999'
|
|
anthropic-ratelimit-requests-reset:
|
|
- '2024-09-12T19:45:54Z'
|
|
anthropic-ratelimit-tokens-limit:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-remaining:
|
|
- '400000'
|
|
anthropic-ratelimit-tokens-reset:
|
|
- '2024-09-12T19:44:59Z'
|
|
request-id:
|
|
- req_01Dc2XCPEeTK3twQiWuj6aNv
|
|
via:
|
|
- 1.1 google
|
|
x-cloud-trace-context:
|
|
- a17743ef8a1c14303a24b58a8259db4e
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|