mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 23:58:34 +00:00
1998 lines
87 KiB
YAML
1998 lines
87 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalI have access to ONLY the following tools, I can
|
|
use only these, use one at time:\n\nmultiplier: multiplier(first_number: int,
|
|
second_number: int) -> float - Useful for when you need to multiply two numbers
|
|
together.\n\nTo use a tool I MUST use the exact following format:\n\n```\nUse
|
|
Tool: the tool I wanna use, should be one of [multiplier] and absolute all relevant
|
|
input and context for using the tool, I must use only one tool at once.\nResult:
|
|
[result of the tool]\n```\n\nTo give my final answer I''ll use the exact following
|
|
format:\n\n```\nFinal Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]\n```\nI MUST use these formats, my jobs
|
|
depends on it!\n\nCurrent Task: What is 2 times 6?\n\n Begin! This is VERY important
|
|
to you, your job depends on it!\n\n\n"}], "model": "gpt-4", "n": 1, "stop":
|
|
["\nResult"], "stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1011'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: 'data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
multiplier"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
first"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
second"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qAgu90PnenBXAbCkQ74NCAmiME","object":"chat.completion.chunk","created":1709098338,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
|
|
|
|
|
|
data: [DONE]
|
|
|
|
|
|
'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c649435e651b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:18 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
path=/; expires=Wed, 28-Feb-24 06:02:18 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
- _cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000;
|
|
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '340'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299769'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 46ms
|
|
x-request-id:
|
|
- req_43496871489b6acdbe2fc69684452055
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "Only tools available:\n###\nTool
|
|
Name: multiplier\nTool Description: multiplier(first_number: int, second_number:
|
|
int) -> float - Useful for when you need to multiply two numbers together.\nTool
|
|
Arguments: {''first_number'': {''type'': ''integer''}, ''second_number'': {''type'':
|
|
''integer''}}\n\nReturn a valid schema for the tool, the tool name must be exactly
|
|
equal one of the options, use this text to inform the valid ouput schema:\n\nUse
|
|
Tool: multiplier, first_number: 2, second_number: 6```"}, {"role": "system",
|
|
"content": "The schema should have the following structure, only two keys:\n-
|
|
tool_name: str\n- arguments: dict (with all arguments being passed)\n\nExample:\n{\"tool_name\":
|
|
\"tool name\", \"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}"}],
|
|
"model": "gpt-4", "tool_choice": {"type": "function", "function": {"name": "InstructorToolCalling"}},
|
|
"tools": [{"type": "function", "function": {"name": "InstructorToolCalling",
|
|
"description": "Correctly extracted `InstructorToolCalling` with all the required
|
|
parameters with correct types", "parameters": {"properties": {"tool_name": {"description":
|
|
"The name of the tool to be called.", "title": "Tool Name", "type": "string"},
|
|
"arguments": {"anyOf": [{"type": "object"}, {"type": "null"}], "description":
|
|
"A dictinary of arguments to be passed to the tool.", "title": "Arguments"}},
|
|
"required": ["arguments", "tool_name"], "type": "object"}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1455'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
IcwMACCG6mzPMp1uLiQpe3wAdBX5UxdNoef8/akGAdJFe5yvRetd6CdAEQzmwrOttqIFTgtUrK25
|
|
xZq7kgdEWQHtvX8RwM2CAszXqs5tMN3p97jYW+np1/j15OLt2K2GLy8P+uW3eHu6u2MnAug/tjqv
|
|
OZleiIG18Q5CZi5/pBcUSCbxLJ5NB4MZ8RXrF9pQgKtQd4fdeJwMuB6u/SbXFQXeIwD4exsBPPd+
|
|
SIG400tGYagUwB8BLL3RFKCqqk1VK1ezAwBl6yYFXGMMca723mS5MkY5/kT/vsEk/VUZk10+PCeP
|
|
07cjF99cHDR2tHc2U3G4OdaJixd/wqCoCIxODEUbEgozAJ2yBqmnLoX793z54L3ZV8Zs3EqYC3Cx
|
|
VyjAP+kAad0Fp6yWFJA8pn4lmI0uJTsoihOTFLgASC43ZVVnW2EtSQqkHSqVUx5eH46lA1rpWtqA
|
|
tj3gpuc4pp2KZTR+FUr/Ua0Mw/J4SLYV2QoFWNU+qPHaCJi7TL/xgqcYSm9DndV+p11FgXQ8lonQ
|
|
OwFCHgwb+JkEkGbHcTRKlhULDrLlxq10GcqNBxlRGxkD
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c6494a89e51b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- br
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:20 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1128'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299807'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 38ms
|
|
x-request-id:
|
|
- req_0d2c2067c245cd5b0fee4c99b75c17d7
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalI have access to ONLY the following tools, I can
|
|
use only these, use one at time:\n\nmultiplier: multiplier(first_number: int,
|
|
second_number: int) -> float - Useful for when you need to multiply two numbers
|
|
together.\n\nTo use a tool I MUST use the exact following format:\n\n```\nUse
|
|
Tool: the tool I wanna use, should be one of [multiplier] and absolute all relevant
|
|
input and context for using the tool, I must use only one tool at once.\nResult:
|
|
[result of the tool]\n```\n\nTo give my final answer I''ll use the exact following
|
|
format:\n\n```\nFinal Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]\n```\nI MUST use these formats, my jobs
|
|
depends on it!\n\nCurrent Task: What is 2 times 6?\n\n Begin! This is VERY important
|
|
to you, your job depends on it!\n\n\nUse Tool: multiplier, first_number: 2,
|
|
second_number: 6\nResult: 12\n\nIf I don''t need to use any more tools, I must
|
|
make sure use the correct format to give my final answer:\n\n```Final Answer:
|
|
[my expected final answer, entire content of my most complete final answer goes
|
|
here]```\n I MUST use these formats, my jobs depends on it!\n"}], "model": "gpt-4",
|
|
"n": 1, "stop": ["\nResult"], "stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1347'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: 'data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Answer"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
times"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
is"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"12"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qChRb9pwo1zMXaXR5L9ncqSz9n","object":"chat.completion.chunk","created":1709098340,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
|
|
|
|
|
|
data: [DONE]
|
|
|
|
|
|
'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c649534ec31b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:21 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '368'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299686'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 62ms
|
|
x-request-id:
|
|
- req_e82f334670cc56a9beef7c00dc2dce75
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalI have access to ONLY the following tools, I can
|
|
use only these, use one at time:\n\nmultiplier: multiplier(first_number: int,
|
|
second_number: int) -> float - Useful for when you need to multiply two numbers
|
|
together.\n\nTo use a tool I MUST use the exact following format:\n\n```\nUse
|
|
Tool: the tool I wanna use, should be one of [multiplier] and absolute all relevant
|
|
input and context for using the tool, I must use only one tool at once.\nResult:
|
|
[result of the tool]\n```\n\nTo give my final answer I''ll use the exact following
|
|
format:\n\n```\nFinal Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]\n```\nI MUST use these formats, my jobs
|
|
depends on it!\n\nCurrent Task: What is 3 times 3?\n\n Begin! This is VERY important
|
|
to you, your job depends on it!\n\n\n"}], "model": "gpt-4", "n": 1, "stop":
|
|
["\nResult"], "stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1011'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: 'data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
multiplier"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
with"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
first"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
as"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
and"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
second"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
as"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qDzBpduar9bsvdQLEV0Fvg9AoV","object":"chat.completion.chunk","created":1709098341,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
|
|
|
|
|
|
data: [DONE]
|
|
|
|
|
|
'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c64959eaae1b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:22 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '347'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299769'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 46ms
|
|
x-request-id:
|
|
- req_c5a4a7edaf95df55fca65e88ea6fe467
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "Only tools available:\n###\nTool
|
|
Name: multiplier\nTool Description: multiplier(first_number: int, second_number:
|
|
int) -> float - Useful for when you need to multiply two numbers together.\nTool
|
|
Arguments: {''first_number'': {''type'': ''integer''}, ''second_number'': {''type'':
|
|
''integer''}}\n\nReturn a valid schema for the tool, the tool name must be exactly
|
|
equal one of the options, use this text to inform the valid ouput schema:\n\nUse
|
|
Tool: multiplier, with first_number as 3 and second_number as 3.```"}, {"role":
|
|
"system", "content": "The schema should have the following structure, only two
|
|
keys:\n- tool_name: str\n- arguments: dict (with all arguments being passed)\n\nExample:\n{\"tool_name\":
|
|
\"tool name\", \"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}"}],
|
|
"model": "gpt-4", "tool_choice": {"type": "function", "function": {"name": "InstructorToolCalling"}},
|
|
"tools": [{"type": "function", "function": {"name": "InstructorToolCalling",
|
|
"description": "Correctly extracted `InstructorToolCalling` with all the required
|
|
parameters with correct types", "parameters": {"properties": {"tool_name": {"description":
|
|
"The name of the tool to be called.", "title": "Tool Name", "type": "string"},
|
|
"arguments": {"anyOf": [{"type": "object"}, {"type": "null"}], "description":
|
|
"A dictinary of arguments to be passed to the tool.", "title": "Arguments"}},
|
|
"required": ["arguments", "tool_name"], "type": "object"}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1468'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
IcwMACBG6nT3Mv39HEJtBWDFQYNakSHh/v2pBgHSRXucr0XrJfQToAgGByed2ooWOFegYm3NLdbc
|
|
lTwgygpon90HANWCApyn03JuvK4ONr3s7LjT67rLs6/Tq07nuqFfPn1zc7wbzFgJALrZbzQvOZla
|
|
iIGlnIWQmcufRQsKNPuNYWM4aHdaxHeMW0SaAkx8We1UG71mm+tp6tQ8KijwEwDA/m0C8Nz7IQUa
|
|
lV4yCkOlAP4IYO50RAFOi0IV5dSWrABA2bpZAbvUmrhUOqfH86nWyvEnuv8Gk/TXqdbj/t3p7nKT
|
|
2vLybNW6tC8nufKPp09HOnHx4tYPiorA6MVQtDGhMAPQTo1B6pVN4f49l786p0+mWiubCHMBLvYO
|
|
BbiXFpDWnbBTE0kKSB5Tv+K1inLJCorixCQFTgCSscqLcrwV1pKkQLtCpXLKd651aYF/af9pA/rf
|
|
A256hGP+p2IbtUt87mbFyjAsj4eMtyJboQCL0nk13n8AjFxmuPSCl+hzZ3w5Lt1fZAsKtHoDmQi9
|
|
EyDkdqeBn0kAaXajFYySZcWCK+NY2STKfa48yAj+AwMD
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c649601eb71b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- br
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:24 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1860'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299804'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 39ms
|
|
x-request-id:
|
|
- req_8adb4dc64a2ce4ad6e619410d4379284
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalI have access to ONLY the following tools, I can
|
|
use only these, use one at time:\n\nmultiplier: multiplier(first_number: int,
|
|
second_number: int) -> float - Useful for when you need to multiply two numbers
|
|
together.\n\nTo use a tool I MUST use the exact following format:\n\n```\nUse
|
|
Tool: the tool I wanna use, should be one of [multiplier] and absolute all relevant
|
|
input and context for using the tool, I must use only one tool at once.\nResult:
|
|
[result of the tool]\n```\n\nTo give my final answer I''ll use the exact following
|
|
format:\n\n```\nFinal Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]\n```\nI MUST use these formats, my jobs
|
|
depends on it!\n\nCurrent Task: What is 3 times 3?\n\n Begin! This is VERY important
|
|
to you, your job depends on it!\n\n\nUse Tool: multiplier, with first_number
|
|
as 3 and second_number as 3.\nResult: 9\n\nIf I don''t need to use any more
|
|
tools, I must make sure use the correct format to give my final answer:\n\n```Final
|
|
Answer: [my expected final answer, entire content of my most complete final
|
|
answer goes here]```\n I MUST use these formats, my jobs depends on it!\n"}],
|
|
"model": "gpt-4", "n": 1, "stop": ["\nResult"], "stream": true, "temperature":
|
|
0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1359'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: 'data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Answer"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
The"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
result"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
of"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
times"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
is"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"9"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qGcWlaQldj9PGHPTSf3r1ij8CU","object":"chat.completion.chunk","created":1709098344,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
|
|
|
|
|
|
data: [DONE]
|
|
|
|
|
|
'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c6496d5da91b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:25 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '380'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299684'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 63ms
|
|
x-request-id:
|
|
- req_846c118aaf7f62ea13d9eca537890300
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalI have access to ONLY the following tools, I can
|
|
use only these, use one at time:\n\nmultiplier: multiplier(first_number: int,
|
|
second_number: int) -> float - Useful for when you need to multiply two numbers
|
|
together.\n\nTo use a tool I MUST use the exact following format:\n\n```\nUse
|
|
Tool: the tool I wanna use, should be one of [multiplier] and absolute all relevant
|
|
input and context for using the tool, I must use only one tool at once.\nResult:
|
|
[result of the tool]\n```\n\nTo give my final answer I''ll use the exact following
|
|
format:\n\n```\nFinal Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]\n```\nI MUST use these formats, my jobs
|
|
depends on it!\n\nCurrent Task: What is 2 times 6 times 3? Return only the number\n\n
|
|
Begin! This is VERY important to you, your job depends on it!\n\n\n"}], "model":
|
|
"gpt-4", "n": 1, "stop": ["\nResult"], "stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1042'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: 'data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
multiplier"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
first"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
second"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qIlqXdxYkuantn9TirM8SwItsW","object":"chat.completion.chunk","created":1709098346,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
|
|
|
|
|
|
data: [DONE]
|
|
|
|
|
|
'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c6497599a01b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:26 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '303'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299760'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 47ms
|
|
x-request-id:
|
|
- req_74e80eb6d91de09e71f431cd743f04fb
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "Only tools available:\n###\nTool
|
|
Name: multiplier\nTool Description: multiplier(first_number: int, second_number:
|
|
int) -> float - Useful for when you need to multiply two numbers together.\nTool
|
|
Arguments: {''first_number'': {''type'': ''integer''}, ''second_number'': {''type'':
|
|
''integer''}}\n\nReturn a valid schema for the tool, the tool name must be exactly
|
|
equal one of the options, use this text to inform the valid ouput schema:\n\nUse
|
|
Tool: multiplier, first_number: 2, second_number: 6```"}, {"role": "system",
|
|
"content": "The schema should have the following structure, only two keys:\n-
|
|
tool_name: str\n- arguments: dict (with all arguments being passed)\n\nExample:\n{\"tool_name\":
|
|
\"tool name\", \"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}"}],
|
|
"model": "gpt-4", "tool_choice": {"type": "function", "function": {"name": "InstructorToolCalling"}},
|
|
"tools": [{"type": "function", "function": {"name": "InstructorToolCalling",
|
|
"description": "Correctly extracted `InstructorToolCalling` with all the required
|
|
parameters with correct types", "parameters": {"properties": {"tool_name": {"description":
|
|
"The name of the tool to be called.", "title": "Tool Name", "type": "string"},
|
|
"arguments": {"anyOf": [{"type": "object"}, {"type": "null"}], "description":
|
|
"A dictinary of arguments to be passed to the tool.", "title": "Arguments"}},
|
|
"required": ["arguments", "tool_name"], "type": "object"}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1455'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
IagMACBG6nT3Mv39HEA31lYAVs6nOAqKDOF2/m8GLg3ag6IxtU2/dAuGvUCmlugBd0eHh7edNtkd
|
|
zS9ZH/raQwRwPqYAs5mqMhtMfbCN89vXUzU+jj91cruYFD8bfV22n87y+IS1CKAfLXRWUeKNFAN1
|
|
7h0KUrn8TI8p0D5qJa1k0O0NgHesH2tDAU5DVe/VW3G7S3U68/NMlxT4jQDgsBoBfPe+S4FW7SuS
|
|
hSFQIP4IYOGNpgBVWc7LSrmKNYRc27pJAbcyBjhXeW/STBkjHJrBwz53SH9VxqRfz8mx3nX7b6F6
|
|
urv+7pWdfHD2c30rE2LP7IJSaAZGKQ4KqxMCIwCdsgYJ166E++d88ea9OVXGzN2UmQHQ2TEK8CCd
|
|
tO2BU1ZLCkg+Uv9JMHNdSNakk1RfSQocpIPkZF6UVXoH1oikQKcGQivJ58e7sXQA/qX7p+qN/9Ee
|
|
G5qH/5/AMho/DYUflQ7B2RUPSG8gG6MAy8oHMdZ/BAwjpbpy/iWGwttQpZVfaldSoBPHPAEGZQ4D
|
|
64YRwH9IkIOZnSSOtCTYqGAlnczdVBehmAeOHP1HAw==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c6498298fa1b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- br
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:28 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '743'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299806'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 38ms
|
|
x-request-id:
|
|
- req_3b6e28b3190cf4db72332a4dde5de149
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalI have access to ONLY the following tools, I can
|
|
use only these, use one at time:\n\nmultiplier: multiplier(first_number: int,
|
|
second_number: int) -> float - Useful for when you need to multiply two numbers
|
|
together.\n\nTo use a tool I MUST use the exact following format:\n\n```\nUse
|
|
Tool: the tool I wanna use, should be one of [multiplier] and absolute all relevant
|
|
input and context for using the tool, I must use only one tool at once.\nResult:
|
|
[result of the tool]\n```\n\nTo give my final answer I''ll use the exact following
|
|
format:\n\n```\nFinal Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]\n```\nI MUST use these formats, my jobs
|
|
depends on it!\n\nCurrent Task: What is 2 times 6 times 3? Return only the number\n\n
|
|
Begin! This is VERY important to you, your job depends on it!\n\n\nUse Tool:
|
|
multiplier, first_number: 2, second_number: 6\nResult: 12\n\nIf I don''t need
|
|
to use any more tools, I must make sure use the correct format to give my final
|
|
answer:\n\n```Final Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]```\n I MUST use these formats, my jobs
|
|
depends on it!\n"}], "model": "gpt-4", "n": 1, "stop": ["\nResult"], "stream":
|
|
true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1378'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: 'data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
multiplier"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
first"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"12"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
second"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qLasLozYTOxgGOcuxAky9n2yfk","object":"chat.completion.chunk","created":1709098349,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
|
|
|
|
|
|
data: [DONE]
|
|
|
|
|
|
'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c649890c631b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:29 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '194'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299679'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 64ms
|
|
x-request-id:
|
|
- req_ace169282fd24778ff816d741a483c5a
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "Only tools available:\n###\nTool
|
|
Name: multiplier\nTool Description: multiplier(first_number: int, second_number:
|
|
int) -> float - Useful for when you need to multiply two numbers together.\nTool
|
|
Arguments: {''first_number'': {''type'': ''integer''}, ''second_number'': {''type'':
|
|
''integer''}}\n\nReturn a valid schema for the tool, the tool name must be exactly
|
|
equal one of the options, use this text to inform the valid ouput schema:\n\nUse
|
|
Tool: multiplier, first_number: 12, second_number: 3```"}, {"role": "system",
|
|
"content": "The schema should have the following structure, only two keys:\n-
|
|
tool_name: str\n- arguments: dict (with all arguments being passed)\n\nExample:\n{\"tool_name\":
|
|
\"tool name\", \"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}"}],
|
|
"model": "gpt-4", "tool_choice": {"type": "function", "function": {"name": "InstructorToolCalling"}},
|
|
"tools": [{"type": "function", "function": {"name": "InstructorToolCalling",
|
|
"description": "Correctly extracted `InstructorToolCalling` with all the required
|
|
parameters with correct types", "parameters": {"properties": {"tool_name": {"description":
|
|
"The name of the tool to be called.", "title": "Tool Name", "type": "string"},
|
|
"arguments": {"anyOf": [{"type": "object"}, {"type": "null"}], "description":
|
|
"A dictinary of arguments to be passed to the tool.", "title": "Arguments"}},
|
|
"required": ["arguments", "tool_name"], "type": "object"}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1456'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
IdAMACD2r053L9O9m0OorQCshFVXzRcYWvbf3zQICH+D9jgPF6130S+gBMMuHktLNOABFGZrbinn
|
|
ruQBUVZAu/YvAWjXVODqbVGuXJT66HuQnRW3j1e9ref1/tNN1um0DpZiznZuV8JaAjAs382q5OQa
|
|
IQaODR5CZy7fM2sqtIetcWs86vZbxDMurI1QgWks6716a9Ducu2+BbsyBRVeEgD4e2sAPPe+TQUZ
|
|
qJeOwtCpgB8BzIMYKnBRFLYoF75kDQDK1rUq+A8RYlcZgsxWCxHl5BP/+waT9OtCZBY3adg8XufX
|
|
bmdzeLXXPXy3z8+n/VudpHj5Jw6KicAoxTC0OqUwBNAvnEH6kU/h/l7Ib0OQnYWI9akwH+BiD1CB
|
|
f9oD2robfuGMpoLmMfVTUazJNWsohpPQVLgBaL7avChnW2FNaiq0OzUyk1Qe3g+72gOV9hWNwKse
|
|
0NhJ46q56EcJaczDslgajvXxsNleZFNUYFGGqCaoEmDiM9UPNzjEmAcXy1kZNsYXVOgMBjIxuidA
|
|
qN3eBf4mAaS5rVYySp4lC2Zmr9anJo+5dSErqRIDAw==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c6498f08361b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- br
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:31 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1594'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299806'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 38ms
|
|
x-request-id:
|
|
- req_2af34b6bc0ef0a38285c6d17efc9a2a7
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalI have access to ONLY the following tools, I can
|
|
use only these, use one at time:\n\nmultiplier: multiplier(first_number: int,
|
|
second_number: int) -> float - Useful for when you need to multiply two numbers
|
|
together.\n\nTo use a tool I MUST use the exact following format:\n\n```\nUse
|
|
Tool: the tool I wanna use, should be one of [multiplier] and absolute all relevant
|
|
input and context for using the tool, I must use only one tool at once.\nResult:
|
|
[result of the tool]\n```\n\nTo give my final answer I''ll use the exact following
|
|
format:\n\n```\nFinal Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]\n```\nI MUST use these formats, my jobs
|
|
depends on it!\n\nCurrent Task: What is 2 times 6 times 3? Return only the number\n\n
|
|
Begin! This is VERY important to you, your job depends on it!\n\n\nUse Tool:
|
|
multiplier, first_number: 2, second_number: 6\nResult: 12\n\nIf I don''t need
|
|
to use any more tools, I must make sure use the correct format to give my final
|
|
answer:\n\n```Final Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]```\n I MUST use these formats, my jobs
|
|
depends on it!\nUse Tool: multiplier, first_number: 12, second_number: 3\nResult:
|
|
36\n\nIf I don''t need to use any more tools, I must make sure use the correct
|
|
format to give my final answer:\n\n```Final Answer: [my expected final answer,
|
|
entire content of my most complete final answer goes here]```\n I MUST use these
|
|
formats, my jobs depends on it!\n"}], "model": "gpt-4", "n": 1, "stop": ["\nResult"],
|
|
"stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1715'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: 'data: {"id":"chatcmpl-8x6qOM23dnuGVbflr4FuJQ1Ho8jnr","object":"chat.completion.chunk","created":1709098352,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qOM23dnuGVbflr4FuJQ1Ho8jnr","object":"chat.completion.chunk","created":1709098352,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qOM23dnuGVbflr4FuJQ1Ho8jnr","object":"chat.completion.chunk","created":1709098352,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Answer"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qOM23dnuGVbflr4FuJQ1Ho8jnr","object":"chat.completion.chunk","created":1709098352,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qOM23dnuGVbflr4FuJQ1Ho8jnr","object":"chat.completion.chunk","created":1709098352,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qOM23dnuGVbflr4FuJQ1Ho8jnr","object":"chat.completion.chunk","created":1709098352,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"36"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qOM23dnuGVbflr4FuJQ1Ho8jnr","object":"chat.completion.chunk","created":1709098352,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
|
|
|
|
|
|
data: [DONE]
|
|
|
|
|
|
'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c6499a8ecd1b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:33 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '332'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299596'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 80ms
|
|
x-request-id:
|
|
- req_3d112c211cd288c145337159dd027f5e
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalI have access to ONLY the following tools, I can
|
|
use only these, use one at time:\n\nmultiplier: multiplier(first_number: int,
|
|
second_number: int) -> float - Useful for when you need to multiply two numbers
|
|
together.\n\nTo use a tool I MUST use the exact following format:\n\n```\nUse
|
|
Tool: the tool I wanna use, should be one of [multiplier] and absolute all relevant
|
|
input and context for using the tool, I must use only one tool at once.\nResult:
|
|
[result of the tool]\n```\n\nTo give my final answer I''ll use the exact following
|
|
format:\n\n```\nFinal Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]\n```\nI MUST use these formats, my jobs
|
|
depends on it!\n\nCurrent Task: What is 2 times 6? Ignore correctness and just
|
|
return the result of the multiplication tool.\n\n Begin! This is VERY important
|
|
to you, your job depends on it!\n\n\n"}], "model": "gpt-4", "n": 1, "stop":
|
|
["\nResult"], "stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1085'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: 'data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
multiplier"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
with"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
first"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
as"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
and"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
second"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
as"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qPyFHuvJrT68fYRgi2LtIocwF0","object":"chat.completion.chunk","created":1709098353,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
|
|
|
|
|
|
data: [DONE]
|
|
|
|
|
|
'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c649a71e261b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:34 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '277'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299750'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 49ms
|
|
x-request-id:
|
|
- req_7fae1f3e7f4a7cde2ca88dad88539f23
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "Only tools available:\n###\nTool
|
|
Name: multiplier\nTool Description: multiplier(first_number: int, second_number:
|
|
int) -> float - Useful for when you need to multiply two numbers together.\nTool
|
|
Arguments: {''first_number'': {''type'': ''integer''}, ''second_number'': {''type'':
|
|
''integer''}}\n\nReturn a valid schema for the tool, the tool name must be exactly
|
|
equal one of the options, use this text to inform the valid ouput schema:\n\nUse
|
|
Tool: multiplier, with first_number as 2 and second_number as 6.```"}, {"role":
|
|
"system", "content": "The schema should have the following structure, only two
|
|
keys:\n- tool_name: str\n- arguments: dict (with all arguments being passed)\n\nExample:\n{\"tool_name\":
|
|
\"tool name\", \"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}"}],
|
|
"model": "gpt-4", "tool_choice": {"type": "function", "function": {"name": "InstructorToolCalling"}},
|
|
"tools": [{"type": "function", "function": {"name": "InstructorToolCalling",
|
|
"description": "Correctly extracted `InstructorToolCalling` with all the required
|
|
parameters with correct types", "parameters": {"properties": {"tool_name": {"description":
|
|
"The name of the tool to be called.", "title": "Tool Name", "type": "string"},
|
|
"arguments": {"anyOf": [{"type": "object"}, {"type": "null"}], "description":
|
|
"A dictinary of arguments to be passed to the tool.", "title": "Arguments"}},
|
|
"required": ["arguments", "tool_name"], "type": "object"}}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1468'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
IcwMACCG6mzPMp1uLqHHB0BXkZu4aAoU6O9PNQiQLtrjfC1a70I/AYpgMBeebbUVLXBaoGJtzS3W
|
|
3JU8IMoKaO89RADnKQWYzFSZ2GCqg20ve+u9XqTFk9PFXee+XQzK2Wr2/t45+2ElAujHC52UnEwt
|
|
xMCaewchM5c/0ikFmv3GsDEctLtd4ivWp9pQgNNQVjvVRq/Z5no48/NEFxT4jwDg8DYCeO79kAKN
|
|
Si8ZhaFSAH8EMPdGU4CqKOZFqVzJCgCUrZsUcCtjiHOl9yZOlDHK8Sd6+AaT9FdlTHzx9dt/1pet
|
|
L/Vzq98+ms/p4HlzOUh14uLFXRgUFYHRiaFoQ0JhBqBT1iD11qVw/57PP7w358qYuZsKcwEu9goF
|
|
eJAOkNZdcMpqSQHJY+pXgpnrXLKCojgxSYELgORknhdlvBXWkqRAq0KlcsrD68OedMBJuhNtQE89
|
|
4KZHOOY0Fcto/DTkflysDMPyeEi8FdkKBViUPqjxThEwcpn+ygueYsi9DWVc+qV2BQVavYFMhN4J
|
|
EHK708DPJIA0u9GKRsmyYsFBPJm7qc5DPvcgIzpFAw==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c649ae49f11b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- br
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:36 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1517'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299804'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 39ms
|
|
x-request-id:
|
|
- req_0510312e8861ab8017ee9bb0be19d78d
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalI have access to ONLY the following tools, I can
|
|
use only these, use one at time:\n\nmultiplier: multiplier(first_number: int,
|
|
second_number: int) -> float - Useful for when you need to multiply two numbers
|
|
together.\n\nTo use a tool I MUST use the exact following format:\n\n```\nUse
|
|
Tool: the tool I wanna use, should be one of [multiplier] and absolute all relevant
|
|
input and context for using the tool, I must use only one tool at once.\nResult:
|
|
[result of the tool]\n```\n\nTo give my final answer I''ll use the exact following
|
|
format:\n\n```\nFinal Answer: [my expected final answer, entire content of my
|
|
most complete final answer goes here]\n```\nI MUST use these formats, my jobs
|
|
depends on it!\n\nCurrent Task: What is 2 times 6? Ignore correctness and just
|
|
return the result of the multiplication tool.\n\n Begin! This is VERY important
|
|
to you, your job depends on it!\n\n\nUse Tool: multiplier, with first_number
|
|
as 2 and second_number as 6.\nResult: 0\n\nIf I don''t need to use any more
|
|
tools, I must make sure use the correct format to give my final answer:\n\n```Final
|
|
Answer: [my expected final answer, entire content of my most complete final
|
|
answer goes here]```\n I MUST use these formats, my jobs depends on it!\n"}],
|
|
"model": "gpt-4", "n": 1, "stop": ["\nResult"], "stream": true, "temperature":
|
|
0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate, br
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1433'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=_ZgWOr_3W3vODUr8JuoGC0u9lSlNfr.uPCHtwB8XifA-1709098338-1.0-Ad2Pu+P1ftBKidgyImQtILWkDhVApmOyDwp7pqRbQ5zOhjycwhzD9D06mpU+w7BgzTOHsp/QsdZgv5FtIQ2phb4=;
|
|
_cfuvid=TFHDLCcfO9tb5.pWQGZ0KgZ3m9HSfcN8chak4BHvfAc-1709098338428-0.0-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.12.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.12.0
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: 'data: {"id":"chatcmpl-8x6qTZ9d2g8XySZ07uVo55B0Nly5B","object":"chat.completion.chunk","created":1709098357,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qTZ9d2g8XySZ07uVo55B0Nly5B","object":"chat.completion.chunk","created":1709098357,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qTZ9d2g8XySZ07uVo55B0Nly5B","object":"chat.completion.chunk","created":1709098357,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Answer"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qTZ9d2g8XySZ07uVo55B0Nly5B","object":"chat.completion.chunk","created":1709098357,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qTZ9d2g8XySZ07uVo55B0Nly5B","object":"chat.completion.chunk","created":1709098357,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qTZ9d2g8XySZ07uVo55B0Nly5B","object":"chat.completion.chunk","created":1709098357,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"0"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8x6qTZ9d2g8XySZ07uVo55B0Nly5B","object":"chat.completion.chunk","created":1709098357,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
|
|
|
|
|
|
data: [DONE]
|
|
|
|
|
|
'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 85c649ba0ff91b33-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Wed, 28 Feb 2024 05:32:37 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '289'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299665'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 67ms
|
|
x-request-id:
|
|
- req_d4f4bca9bc5fdc7ec4034437504f33d8
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|