mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
1939 lines
94 KiB
YAML
1939 lines
94 KiB
YAML
interactions:
|
|
- request:
|
|
body: !!binary |
|
|
CrUICiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSjAgKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRL1BwoQwDVhGJ+6SwbSzlZGpGVguxIIpXI8pkoe3KgqDENyZXcgQ3JlYXRlZDABOchR
|
|
W8eBXbMXQSizXceBXbMXShoKDmNyZXdhaV92ZXJzaW9uEggKBjAuMTAuMkoaCg5weXRob25fdmVy
|
|
c2lvbhIICgYzLjExLjdKMQoHY3Jld19pZBImCiQ4ODIzZWQxYi1kNjRkLTQzNzUtOGFjNS03NWVk
|
|
OTYxZDBiMjBKHAoMY3Jld19wcm9jZXNzEgwKCnNlcXVlbnRpYWxKFQoNY3Jld19sYW5ndWFnZRIE
|
|
CgJlbkoaChRjcmV3X251bWJlcl9vZl90YXNrcxICGAFKGwoVY3Jld19udW1iZXJfb2ZfYWdlbnRz
|
|
EgIYAUrJAgoLY3Jld19hZ2VudHMSuQIKtgJbeyJpZCI6ICI1YmJiNTNiNC03Zjc1LTRjNzMtOTRl
|
|
Ny0wMmQwN2RhYzEwNTkiLCAicm9sZSI6ICJ0ZXN0IHJvbGUiLCAibWVtb3J5X2VuYWJsZWQ/Ijog
|
|
dHJ1ZSwgInZlcmJvc2U/IjogdHJ1ZSwgIm1heF9pdGVyIjogNSwgIm1heF9ycG0iOiBudWxsLCAi
|
|
aTE4biI6ICJlbiIsICJsbG0iOiAie1wibmFtZVwiOiBudWxsLCBcIm1vZGVsX25hbWVcIjogXCJn
|
|
cHQtNFwiLCBcInRlbXBlcmF0dXJlXCI6IDAuNywgXCJjbGFzc1wiOiBcIkNoYXRPcGVuQUlcIn0i
|
|
LCAiZGVsZWdhdGlvbl9lbmFibGVkPyI6IGZhbHNlLCAidG9vbHNfbmFtZXMiOiBbXX1dSp0BCgpj
|
|
cmV3X3Rhc2tzEo4BCosBW3siaWQiOiAiOTFjMTMwNzQtY2RjYi00N2YxLWI4NWMtOTE0YzEzYzgz
|
|
ZTUwIiwgImFzeW5jX2V4ZWN1dGlvbj8iOiBmYWxzZSwgImFnZW50X3JvbGUiOiAidGVzdCByb2xl
|
|
IiwgInRvb2xzX25hbWVzIjogWyJnZXRfZmluYWxfYW5zd2VyIl19XUooCghwbGF0Zm9ybRIcChpt
|
|
YWNPUy0xNC4zLWFybTY0LWFybS02NGJpdEocChBwbGF0Zm9ybV9yZWxlYXNlEggKBjIzLjMuMEob
|
|
Cg9wbGF0Zm9ybV9zeXN0ZW0SCAoGRGFyd2luSnsKEHBsYXRmb3JtX3ZlcnNpb24SZwplRGFyd2lu
|
|
IEtlcm5lbCBWZXJzaW9uIDIzLjMuMDogV2VkIERlYyAyMCAyMTozMDo1OSBQU1QgMjAyMzsgcm9v
|
|
dDp4bnUtMTAwMDIuODEuNX43L1JFTEVBU0VfQVJNNjRfVDYwMzBKCgoEY3B1cxICGAx6AhgB
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '1080'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
User-Agent:
|
|
- OTel-OTLP-Exporter-Python/1.22.0
|
|
method: POST
|
|
uri: http://telemetry.crewai.com:4318/v1/traces
|
|
response:
|
|
body:
|
|
string: "\n\0"
|
|
headers:
|
|
Content-Length:
|
|
- '2'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:04:56 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalTOOLS:\n------\nYou have access to only the following
|
|
tools:\n\n(\"get_final_answer: get_final_answer(numbers) -> float - Get the
|
|
final answer but don''t give it yet, just re-use this\\n tool non-stop.\",)\n\nTo
|
|
use a tool, please use the exact following format:\n\n```\nThought: Do I need
|
|
to use a tool? Yes\nAction: the tool you wanna use, should be one of [get_final_answer],
|
|
just the name.\nAction Input: Any and all relevant information input and context
|
|
for using the tool\nObservation: the result of using the tool\n```\n\nWhen you
|
|
have a response for your task, or if you do not need to use a tool, you MUST
|
|
use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer:
|
|
[your response here]```This is the summary of your work so far:\nBegin! This
|
|
is VERY important to you, your job depends on it!\n\nCurrent Task: Don''t give
|
|
a Final Answer, instead keep using the `get_final_answer` tool.\n"}], "model":
|
|
"gpt-4", "n": 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1124'
|
|
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-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Do"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
I"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
need"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
to"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
a"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"?"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Yes"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
get"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Input"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
{\""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"numbers"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
["},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"1"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"4"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"]}"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4e9At9Ewd25UTKlsh9YsBlUk8U","object":"chat.completion.chunk","created":1707811496,"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:
|
|
- 854b9038f9d717ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:04:56 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
path=/; expires=Tue, 13-Feb-24 08:34:56 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
- _cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '467'
|
|
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:
|
|
- '299743'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 51ms
|
|
x-request-id:
|
|
- req_8a52ed73f43da9f149b8ce8fc2015c99
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "\n The
|
|
schema should have the following structure, only two key:\n -
|
|
tool_name: str\n - arguments: dict (with all
|
|
arguments being passed)\n\n Example:\n {\"tool_name\":
|
|
\"tool_name\", \"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}\n "},
|
|
{"role": "user", "content": "Tools available:\n\nTool Name: get_final_answer\nTool
|
|
Description: get_final_answer(numbers) -> float - Get the final answer but don''t
|
|
give it yet, just re-use this\n tool non-stop.\nTool Arguments: {''numbers'':
|
|
{}}\n\nReturn a valid schema for the tool, use this text to inform a valid ouput
|
|
schema:\n\nTool Name: get_final_answer\nTool Arguments: {\"numbers\": [1, 2,
|
|
3, 4, 5]}```"}], "model": "gpt-4", "function_call": {"name": "InstructorToolCalling"},
|
|
"functions": [{"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": {"description":
|
|
"A dictinary of arguments to be passed to the tool.", "title": "Arguments",
|
|
"type": "object"}}, "required": ["arguments", "tool_name"], "type": "object"}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1455'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
_cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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 |
|
|
H4sIAAAAAAAAA1yRQW/bMAyF7/4VBM9OESdukvq6Yu3uO60uDEVRHHUyqUo0ujbwfy/kpE66i2Hw
|
|
vffhiTxmAGh3WAHqgxLdeTfbBFse3lb3P1fFw/b9z8Prhw/06D/WVPAt5inB2xej5St1o7nzzohl
|
|
Osk6GCUmUYv1fL0pivLubhQ63hmXYq2XWTmbr4rlOXFgq03ECp4yAIDj+E3daGf+YQXz/GvSmRhV
|
|
a7CaTAAY2KUJqhhtFEWC+UXUTGIo1aXeuSth35NOrRutnPsGBEBS3Yj8RVFCr4XDb2b3Qzlnqb3C
|
|
A6AKbd8ZktQfjzUB1CjMrkmMGiuosTXS7C0p1yiKbybUmJ98Uzb5xmyaUt9tTRhnT0UOixyWOZQ5
|
|
3D4nx1DTgFOB4fw3TCty3PrA2/jfi3FvycZDE4yKTKlrFPYnUII8j6fov20XfeDOSyP811ACLsrF
|
|
iYeXq1/U5eYsCotyV6nNPDs3xPgexXRpG60JPtjpMtmQfQIAAP//AwCCYzpvkAIAAA==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 854b904eef5417ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:01 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '2511'
|
|
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:
|
|
- '299785'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 43ms
|
|
x-request-id:
|
|
- req_e6fa11cdaac2809d86a28d525994cd9d
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalTOOLS:\n------\nYou have access to only the following
|
|
tools:\n\n(\"get_final_answer: get_final_answer(numbers) -> float - Get the
|
|
final answer but don''t give it yet, just re-use this\\n tool non-stop.\",)\n\nTo
|
|
use a tool, please use the exact following format:\n\n```\nThought: Do I need
|
|
to use a tool? Yes\nAction: the tool you wanna use, should be one of [get_final_answer],
|
|
just the name.\nAction Input: Any and all relevant information input and context
|
|
for using the tool\nObservation: the result of using the tool\n```\n\nWhen you
|
|
have a response for your task, or if you do not need to use a tool, you MUST
|
|
use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer:
|
|
[your response here]```This is the summary of your work so far:\nBegin! This
|
|
is VERY important to you, your job depends on it!\n\nCurrent Task: Don''t give
|
|
a Final Answer, instead keep using the `get_final_answer` tool.\nThought: Do
|
|
I need to use a tool? Yes\nAction: get_final_answer\nAction Input: {\"numbers\":
|
|
[1, 2, 3, 4, 5]}\nObservation: 42\nThought: "}], "model": "gpt-4", "n": 1, "stop":
|
|
["\nObservation"], "stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1261'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
_cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Do"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
I"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
need"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
to"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
a"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"?"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Yes"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
get"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Input"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
{\""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"numbers"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
["},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"7"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"8"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"9"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"10"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"]}"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4ksQQGu1EHLK8XnzQwrzlVFmMN","object":"chat.completion.chunk","created":1707811502,"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:
|
|
- 854b905f785017ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:02 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '401'
|
|
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:
|
|
- '299710'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 58ms
|
|
x-request-id:
|
|
- req_ebb76fed7455c769a8b945466598d30f
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: !!binary |
|
|
CowCCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS4wEKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRLMAQoQbryPVesrN6KGygpybd/z8hII6aDxUDCJ5ZUqClRvb2wgVXNhZ2UwATnQlZM8
|
|
g12zF0EoKJU8g12zF0ofCgl0b29sX25hbWUSEgoQZ2V0X2ZpbmFsX2Fuc3dlckoOCghhdHRlbXB0
|
|
cxICGAFKWQoDbGxtElIKUHsibmFtZSI6IG51bGwsICJtb2RlbF9uYW1lIjogImdwdC00IiwgInRl
|
|
bXBlcmF0dXJlIjogMC43LCAiY2xhc3MiOiAiQ2hhdE9wZW5BSSJ9egIYAQ==
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '271'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
User-Agent:
|
|
- OTel-OTLP-Exporter-Python/1.22.0
|
|
method: POST
|
|
uri: http://telemetry.crewai.com:4318/v1/traces
|
|
response:
|
|
body:
|
|
string: "\n\0"
|
|
headers:
|
|
Content-Length:
|
|
- '2'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:06 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "\n The
|
|
schema should have the following structure, only two key:\n -
|
|
tool_name: str\n - arguments: dict (with all
|
|
arguments being passed)\n\n Example:\n {\"tool_name\":
|
|
\"tool_name\", \"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}\n "},
|
|
{"role": "user", "content": "Tools available:\n\nTool Name: get_final_answer\nTool
|
|
Description: get_final_answer(numbers) -> float - Get the final answer but don''t
|
|
give it yet, just re-use this\n tool non-stop.\nTool Arguments: {''numbers'':
|
|
{}}\n\nReturn a valid schema for the tool, use this text to inform a valid ouput
|
|
schema:\nDo I need to use a tool? Yes\nTool Name: get_final_answer\nTool Arguments:
|
|
{\"numbers\": [6, 7, 8, 9, 10]}```"}], "model": "gpt-4", "function_call": {"name":
|
|
"InstructorToolCalling"}, "functions": [{"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": {"description": "A dictinary of arguments to be passed to the tool.",
|
|
"title": "Arguments", "type": "object"}}, "required": ["arguments", "tool_name"],
|
|
"type": "object"}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1484'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
_cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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 |
|
|
H4sIAAAAAAAAA1yRQW/bMAyF7/4VBM/OYKdJk/o29NTjhgwYUBeGoiiOUok0JBrdGvi/D3ISJ91F
|
|
kPj4Pj1RpwwA7Q4rQH1Qon3nZutgF7ST8vux3fzef/x8Ofz4LOefT7/icbPBPDl4ezRarq5vmn3n
|
|
jFims6yDUWIStVwVq3VZLovlKHjeGZdsbSezxax4LB8ujgNbbSJW8JoBAJzGNWWjnfmDFRT5teJN
|
|
jKo1WE1NABjYpQqqGG0URYL5TdRMYijFpd65O2Hfk06pG62c+wIEQFJ+RL5QlNBr4bBhds/KOUvt
|
|
HR4AVWh7b0hSfjzVVKMwuyYRaqygxtZIs7ekXKMofphQY566Jl/qOtVIvd+aMJ5eH3NY5bDO4SmH
|
|
sngbahpwunO47IZpKo7bLvA2/vdI3Fuy8dAEoyJTiheFuzMoQd7G6fdfBopdYN9JI/xuKAHny/mZ
|
|
h7ePvqkPV1FYlLtzrRfZJSHGv1GMTyNoTeiCnT4jG7J/AAAA//8DAFyv1qCDAgAA
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 854b9076985317ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:07 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '1793'
|
|
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:
|
|
- '299777'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 44ms
|
|
x-request-id:
|
|
- req_1dfff25d57f0fd95bb2aeacee5fa33e7
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalTOOLS:\n------\nYou have access to only the following
|
|
tools:\n\n(\"get_final_answer: get_final_answer(numbers) -> float - Get the
|
|
final answer but don''t give it yet, just re-use this\\n tool non-stop.\",)\n\nTo
|
|
use a tool, please use the exact following format:\n\n```\nThought: Do I need
|
|
to use a tool? Yes\nAction: the tool you wanna use, should be one of [get_final_answer],
|
|
just the name.\nAction Input: Any and all relevant information input and context
|
|
for using the tool\nObservation: the result of using the tool\n```\n\nWhen you
|
|
have a response for your task, or if you do not need to use a tool, you MUST
|
|
use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer:
|
|
[your response here]```This is the summary of your work so far:\nBegin! This
|
|
is VERY important to you, your job depends on it!\n\nCurrent Task: Don''t give
|
|
a Final Answer, instead keep using the `get_final_answer` tool.\nThought: Do
|
|
I need to use a tool? Yes\nAction: get_final_answer\nAction Input: {\"numbers\":
|
|
[1, 2, 3, 4, 5]}\nObservation: 42\nThought: Do I need to use a tool? Yes\nAction:
|
|
get_final_answer\nAction Input: {\"numbers\": [6, 7, 8, 9, 10]}\nObservation:
|
|
42\nThought: "}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], "stream":
|
|
true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1390'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
_cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Do"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
I"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
need"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
to"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
a"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"?"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Yes"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
get"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Input"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
{\""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"numbers"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
["},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"11"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"12"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"13"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"14"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"15"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"]}"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4p5ucaAEXD8pCiWqflahg9WptK","object":"chat.completion.chunk","created":1707811507,"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:
|
|
- 854b90827c8617ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:08 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '378'
|
|
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_4da1f4f30272b402c6d60af755846750
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: !!binary |
|
|
CowCCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS4wEKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRLMAQoQLp6s3yZd9gh5c0HjwqjtQhIIeggXtm8MX1MqClRvb2wgVXNhZ2UwATkAlBGK
|
|
hF2zF0HIPROKhF2zF0ofCgl0b29sX25hbWUSEgoQZ2V0X2ZpbmFsX2Fuc3dlckoOCghhdHRlbXB0
|
|
cxICGAFKWQoDbGxtElIKUHsibmFtZSI6IG51bGwsICJtb2RlbF9uYW1lIjogImdwdC00IiwgInRl
|
|
bXBlcmF0dXJlIjogMC43LCAiY2xhc3MiOiAiQ2hhdE9wZW5BSSJ9egIYAQ==
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '271'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
User-Agent:
|
|
- OTel-OTLP-Exporter-Python/1.22.0
|
|
method: POST
|
|
uri: http://telemetry.crewai.com:4318/v1/traces
|
|
response:
|
|
body:
|
|
string: "\n\0"
|
|
headers:
|
|
Content-Length:
|
|
- '2'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:11 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "\n The
|
|
schema should have the following structure, only two key:\n -
|
|
tool_name: str\n - arguments: dict (with all
|
|
arguments being passed)\n\n Example:\n {\"tool_name\":
|
|
\"tool_name\", \"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}\n "},
|
|
{"role": "user", "content": "Tools available:\n\nTool Name: get_final_answer\nTool
|
|
Description: get_final_answer(numbers) -> float - Get the final answer but don''t
|
|
give it yet, just re-use this\n tool non-stop.\nTool Arguments: {''numbers'':
|
|
{}}\n\nReturn a valid schema for the tool, use this text to inform a valid ouput
|
|
schema:\nDo I need to use a tool? Yes\nTool Name: get_final_answer\nTool Arguments:
|
|
{\"numbers\": [11, 12, 13, 14, 15]}```"}], "model": "gpt-4", "function_call":
|
|
{"name": "InstructorToolCalling"}, "functions": [{"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": {"description": "A dictinary of arguments to be passed to the tool.",
|
|
"title": "Arguments", "type": "object"}}, "required": ["arguments", "tool_name"],
|
|
"type": "object"}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1488'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
_cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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 |
|
|
H4sIAAAAAAAAA1yRT2/bMAzF7/4UBM/OEMVJG/i6P0Cx7bbDgLowFEVxtEqkIdHrusDffZCTOWkv
|
|
gqTH99MTeSoA0O2xBjRHLSb0frGNbp3S3y+brz9fP/32h8+uIq7M8/7bw8t3LLODd7+skf+uD4ZD
|
|
7604prNsotViM1XdL++3Sm3UchIC763Ptq6XxXqxvFPVxXFkZ2zCGh4LAIDTtOZstLd/sIbJP90E
|
|
m5LuLNZzEQBG9vkGdUouiSbB8ioaJrGU49Lg/Y1wGMjk1K3R3r8BAiDpMCEfKEkcjHD8wew/au8d
|
|
dTd4ANSxG4Ilyfnx1BBAg8Ls28xosIYGOyvtwZH2rab0YmOD5blu9ua6U4M0hJ2N0+lRqRLUqgRV
|
|
laDWJajN09jQiPPb42U3zt3x3PWRd+ndZ/HgyKVjG61OTDlmEu7PoAx5mqYwvGks9pFDL63ws6UM
|
|
XG1WZx5eB35Vq/VFFBbtb1zbu+KSENNrEhtyIzob++jmoRRj8Q8AAP//AwBS/5EsiwIAAA==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 854b909698b917ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:13 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '2841'
|
|
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:
|
|
- '299777'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 44ms
|
|
x-request-id:
|
|
- req_76b44e9d96a7c2ed7cb2a3cb158e8ac1
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: !!binary |
|
|
CowCCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS4wEKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRLMAQoQIsOOCptQ+yy0PLf69exhtxIIH61Z5LlybPIqClRvb2wgVXNhZ2UwATlw6+gM
|
|
hl2zF0FA5+oMhl2zF0ofCgl0b29sX25hbWUSEgoQZ2V0X2ZpbmFsX2Fuc3dlckoOCghhdHRlbXB0
|
|
cxICGAFKWQoDbGxtElIKUHsibmFtZSI6IG51bGwsICJtb2RlbF9uYW1lIjogImdwdC00IiwgInRl
|
|
bXBlcmF0dXJlIjogMC43LCAiY2xhc3MiOiAiQ2hhdE9wZW5BSSJ9egIYAQ==
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '271'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
User-Agent:
|
|
- OTel-OTLP-Exporter-Python/1.22.0
|
|
method: POST
|
|
uri: http://telemetry.crewai.com:4318/v1/traces
|
|
response:
|
|
body:
|
|
string: "\n\0"
|
|
headers:
|
|
Content-Length:
|
|
- '2'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:16 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalTOOLS:\n------\nYou have access to only the following
|
|
tools:\n\n(\"get_final_answer: get_final_answer(numbers) -> float - Get the
|
|
final answer but don''t give it yet, just re-use this\\n tool non-stop.\",)\n\nTo
|
|
use a tool, please use the exact following format:\n\n```\nThought: Do I need
|
|
to use a tool? Yes\nAction: the tool you wanna use, should be one of [get_final_answer],
|
|
just the name.\nAction Input: Any and all relevant information input and context
|
|
for using the tool\nObservation: the result of using the tool\n```\n\nWhen you
|
|
have a response for your task, or if you do not need to use a tool, you MUST
|
|
use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer:
|
|
[your response here]```This is the summary of your work so far:\nBegin! This
|
|
is VERY important to you, your job depends on it!\n\nCurrent Task: Don''t give
|
|
a Final Answer, instead keep using the `get_final_answer` tool.\nThought: Do
|
|
I need to use a tool? Yes\nAction: get_final_answer\nAction Input: {\"numbers\":
|
|
[1, 2, 3, 4, 5]}\nObservation: 42\nThought: Do I need to use a tool? Yes\nAction:
|
|
get_final_answer\nAction Input: {\"numbers\": [6, 7, 8, 9, 10]}\nObservation:
|
|
42\nThought: Do I need to use a tool? Yes\nAction: get_final_answer\nAction
|
|
Input: {\"numbers\": [11, 12, 13, 14, 15]}\nObservation: 42\n\nTOOLS:\n------\nYou
|
|
have access to only the following tools:\n\n(\"get_final_answer: get_final_answer(numbers)
|
|
-> float - Get the final answer but don''t give it yet, just re-use this\\n tool
|
|
non-stop.\",)\n\nTo use a tool, please use the exact following format:\n\n```\nThought:
|
|
Do I need to use a tool? Yes\nAction: the tool you wanna use, should be one
|
|
of [get_final_answer], just the name.\nAction Input: Any and all relevant information
|
|
input and context for using the tool\nObservation: the result of using the tool\n```\n\nWhen
|
|
you have a response for your task, or if you do not need to use a tool, you
|
|
MUST use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer:
|
|
[your response here]```\nThought: "}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"],
|
|
"stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '2248'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
_cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Do"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
I"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
need"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
to"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
a"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"?"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Yes"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
get"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Input"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
{\""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"numbers"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
["},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"16"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"17"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"18"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"19"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"20"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"]}"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4wFUD3xJhXcjifvHLZSmBysZbA","object":"chat.completion.chunk","created":1707811514,"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:
|
|
- 854b90ab0db317ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:14 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '444'
|
|
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:
|
|
- '299472'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 105ms
|
|
x-request-id:
|
|
- req_a862a1f614beb11d9c29a089e5bded78
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goalTOOLS:\n------\nYou have access to only the following
|
|
tools:\n\n(\"get_final_answer: get_final_answer(numbers) -> float - Get the
|
|
final answer but don''t give it yet, just re-use this\\n tool non-stop.\",)\n\nTo
|
|
use a tool, please use the exact following format:\n\n```\nThought: Do I need
|
|
to use a tool? Yes\nAction: the tool you wanna use, should be one of [get_final_answer],
|
|
just the name.\nAction Input: Any and all relevant information input and context
|
|
for using the tool\nObservation: the result of using the tool\n```\n\nWhen you
|
|
have a response for your task, or if you do not need to use a tool, you MUST
|
|
use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer:
|
|
[your response here]```This is the summary of your work so far:\nBegin! This
|
|
is VERY important to you, your job depends on it!\n\nCurrent Task: Don''t give
|
|
a Final Answer, instead keep using the `get_final_answer` tool.\nThought: Do
|
|
I need to use a tool? Yes\nAction: get_final_answer\nAction Input: {\"numbers\":
|
|
[1, 2, 3, 4, 5]}\nObservation: 42\nThought: Do I need to use a tool? Yes\nAction:
|
|
get_final_answer\nAction Input: {\"numbers\": [6, 7, 8, 9, 10]}\nObservation:
|
|
42\nThought: Do I need to use a tool? Yes\nAction: get_final_answer\nAction
|
|
Input: {\"numbers\": [11, 12, 13, 14, 15]}\nObservation: 42\n\nTOOLS:\n------\nYou
|
|
have access to only the following tools:\n\n(\"get_final_answer: get_final_answer(numbers)
|
|
-> float - Get the final answer but don''t give it yet, just re-use this\\n tool
|
|
non-stop.\",)\n\nTo use a tool, please use the exact following format:\n\n```\nThought:
|
|
Do I need to use a tool? Yes\nAction: the tool you wanna use, should be one
|
|
of [get_final_answer], just the name.\nAction Input: Any and all relevant information
|
|
input and context for using the tool\nObservation: the result of using the tool\n```\n\nWhen
|
|
you have a response for your task, or if you do not need to use a tool, you
|
|
MUST use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer:
|
|
[your response here]```\nThought: Do I need to use a tool? Yes\nAction: get_final_answer\nAction
|
|
Input: {\"numbers\": [16, 17, 18, 19, 20]}\nObservation: Actually, I used too
|
|
many tools, so I''ll stop now and give you my absolute BEST Final answer NOW,
|
|
using exaclty the expected format bellow: \n```\nThought: Do I need to use a
|
|
tool? No\nFinal Answer: [your response here]```\nThought: "}], "model": "gpt-4",
|
|
"n": 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '2601'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
_cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Do"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
I"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
need"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
to"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
use"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
a"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
tool"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"?"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Yes"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
get"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_final"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_answer"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
Input"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
{\""},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"numbers"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
["},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"21"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"22"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"23"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"24"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
|
|
"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"25"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"]}"},"logprobs":null,"finish_reason":null}]}
|
|
|
|
|
|
data: {"id":"chatcmpl-8ri4zlM2Dq6s6KYieCyoGle846xhn","object":"chat.completion.chunk","created":1707811517,"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:
|
|
- 854b90c07a5617ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- text/event-stream
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:18 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '424'
|
|
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:
|
|
- '299385'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 122ms
|
|
x-request-id:
|
|
- req_d4a11888bb296fc6954444bb854a0d94
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "\n The
|
|
schema should have the following structure, only two key:\n -
|
|
tool_name: str\n - arguments: dict (with all
|
|
arguments being passed)\n\n Example:\n {\"tool_name\":
|
|
\"tool_name\", \"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}\n "},
|
|
{"role": "user", "content": "Tools available:\n\nTool Name: get_final_answer\nTool
|
|
Description: get_final_answer(numbers) -> float - Get the final answer but don''t
|
|
give it yet, just re-use this\n tool non-stop.\nTool Arguments: {''numbers'':
|
|
{}}\n\nReturn a valid schema for the tool, use this text to inform a valid ouput
|
|
schema:\nDo I need to use a tool? Yes\nTool Name: get_final_answer\nTool Arguments:
|
|
{\"numbers\": [21, 22, 23, 24, 25]}```"}], "model": "gpt-4", "function_call":
|
|
{"name": "InstructorToolCalling"}, "functions": [{"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": {"description": "A dictinary of arguments to be passed to the tool.",
|
|
"title": "Arguments", "type": "object"}}, "required": ["arguments", "tool_name"],
|
|
"type": "object"}}]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1488'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
_cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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 |
|
|
H4sIAAAAAAAAA1yRQW/bMAyF7/4VBM/OECvNmvo27FRsAwZ0l6EuDEVRHLUSaUg0ui7wfx/kZE7a
|
|
i2HwvffhiTwWAOh2WAOagxYTer/YRLdWfHd4jZu/96vw9uVn96Dj7/WP79/SA5Y5wdtna+R/6pPh
|
|
0Hsrjukkm2i12Eytbpe3m6paq+UkBN5Zn2NdL4ubxfJztTonDuyMTVjDYwEAcJy+uRvt7B+sYcpP
|
|
k2BT0p3FejYBYGSfJ6hTckk0CZYX0TCJpVyXBu+vhP1AJrdujfb+HRAASYcJeU9J4mCE4y9m/1V7
|
|
76i7wgOgjt0QLEnuj8eGABoUZt9mRoM1NNhZafeOtG81pVcbGyxPvjmbfVM2T2kIWxun2aOqSlCq
|
|
BLUqQd2UoNZP2TY2NOLcYjz/jfOePHd95G368GzcO3Lp0EarE1MunIT7EyhDnqZ7DO9WjH3k0Esr
|
|
/GIpA9VanXh4Of1FXW3OorBof5W6WxbnhpjektiQV9LZ2Ec3n6cYi38AAAD//wMAEV47vpUCAAA=
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 854b90d21bd717ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:22 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '2432'
|
|
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:
|
|
- '299776'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 44ms
|
|
x-request-id:
|
|
- req_aad58b7dc719c7955cdfffa7a53761cd
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "Progressively summarize the
|
|
lines of conversation provided, adding onto the previous summary returning a
|
|
new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks
|
|
of artificial intelligence. The AI thinks artificial intelligence is a force
|
|
for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial
|
|
intelligence is a force for good?\nAI: Because artificial intelligence will
|
|
help humans reach their full potential.\n\nNew summary:\nThe human asks what
|
|
the AI thinks of artificial intelligence. The AI thinks artificial intelligence
|
|
is a force for good because it will help humans reach their full potential.\nEND
|
|
OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: Don''t
|
|
give a Final Answer, instead keep using the `get_final_answer` tool.\nAI: Agent
|
|
stopped due to iteration limit or time limit.\n\nNew summary:"}], "model": "gpt-4",
|
|
"n": 1, "stream": false, "temperature": 0.7}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '977'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=p4QSAdIBR7FNVvOFsWBvpE6Ysz4o1GmcD39KWFPKJX4-1707811496-1-AbH2I4bL6MVHeyH8Tes2CSqRdCMbecTBJ4FVsmTPagBhXCV2NAL8exRMJONeLKxsbrKs7d5FycRV4/aMk+NFcvE=;
|
|
_cfuvid=AdlmdJ0jKkN6UhlG2R.7rpZYxaE1MmUARBaSgoldhQs-1707811496766-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 |
|
|
H4sIAAAAAAAAA1RRTYsbMQy9z68QPichk88lt95aeiiF3krJOjNaj7q25VpytmHJfy+eySb0YrDe
|
|
h5+e3xsAQ705gOkGq11Ifv6Uabt57UWtXv6sUn8q3772/P3ieHvemFlV8Ok3dvqhWnQckkcljhPc
|
|
ZbSK1bXdL/dPbbtdrUYgcI++ylzS+Wa+3LXrm2Jg6lDMAX42AADv41mzxR7/mgMsZx+TgCLWoTnc
|
|
SQAms68TY0VI1EY1swfYcVSMY9wfA8JQgo1AUTSXTgUiKyiDozOChReK1oON8oZ5BqcyYtWBYkEo
|
|
QtGBDgjPDvU4ko8T+RmU2S/gM7/huWor69MXsA6jgigngb5gtSPFbGtd4CmQAmdQCjjdFuaW/Hpf
|
|
2bNLmU+1nli8v89fKJIMx4xWONb16iuT/NoA/BqrLf+1ZVLmkPSo/IqxGra73eRnHr/4QNf7G6is
|
|
1j/mq+W6uSU0chHFULtwmFOmsemas7k2/wAAAP//AwBzZgpCYAIAAA==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 854b90e20c1e17ee-SJC
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Tue, 13 Feb 2024 08:05:25 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- user-z7g4wmlazxqvc5wjyaaaocfz
|
|
openai-processing-ms:
|
|
- '2931'
|
|
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:
|
|
- '299770'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 45ms
|
|
x-request-id:
|
|
- req_c25f3c22df64ae3839d7c12292064e7a
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|