Files
crewAI/tests/cassettes/test_agent_step_callback.yaml
2024-02-13 01:50:12 -08:00

1132 lines
60 KiB
YAML

interactions:
- request:
body: !!binary |
CsQICiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSmwgKEgoQY3Jld2FpLnRl
bGVtZXRyeRKECAoQDivw/vS5MNyL2/+IMpYdZBIIVyssRoQZjQIqDENyZXcgQ3JlYXRlZDABOVDC
HZDqXLMXQSiNIJDqXLMXShoKDmNyZXdhaV92ZXJzaW9uEggKBjAuMTAuMkoaCg5weXRob25fdmVy
c2lvbhIICgYzLjExLjdKMQoHY3Jld19pZBImCiQxOGExMjA5Mi1kMGRkLTRmZGQtYTcwZS1iNzc4
NTFmM2ZjZTdKHAoMY3Jld19wcm9jZXNzEgwKCnNlcXVlbnRpYWxKFQoNY3Jld19sYW5ndWFnZRIE
CgJlbkoaChRjcmV3X251bWJlcl9vZl90YXNrcxICGAFKGwoVY3Jld19udW1iZXJfb2ZfYWdlbnRz
EgIYAUraAgoLY3Jld19hZ2VudHMSygIKxwJbeyJpZCI6ICJlNjQ5MTlkMC0zODAxLTRlZjItYTlk
Yi1iYWEwNTM5MmM3MGMiLCAicm9sZSI6ICJ0ZXN0IHJvbGUiLCAibWVtb3J5X2VuYWJsZWQ/Ijog
dHJ1ZSwgInZlcmJvc2U/IjogZmFsc2UsICJtYXhfaXRlciI6IDE1LCAibWF4X3JwbSI6IG51bGws
ICJpMThuIjogImVuIiwgImxsbSI6ICJ7XCJuYW1lXCI6IG51bGwsIFwibW9kZWxfbmFtZVwiOiBc
ImdwdC00XCIsIFwidGVtcGVyYXR1cmVcIjogMC43LCBcImNsYXNzXCI6IFwiQ2hhdE9wZW5BSVwi
fSIsICJkZWxlZ2F0aW9uX2VuYWJsZWQ/IjogdHJ1ZSwgInRvb2xzX25hbWVzIjogWyJsZWFybl9h
Ym91dF9BSSJdfV1KmwEKCmNyZXdfdGFza3MSjAEKiQFbeyJpZCI6ICI1NzI4MDhhYi1hM2RmLTRi
ZTEtOTkxNi04ZmU1MWI5MDU4NzYiLCAiYXN5bmNfZXhlY3V0aW9uPyI6IGZhbHNlLCAiYWdlbnRf
cm9sZSI6ICJ0ZXN0IHJvbGUiLCAidG9vbHNfbmFtZXMiOiBbImxlYXJuX2Fib3V0X0FJIl19XUoo
CghwbGF0Zm9ybRIcChptYWNPUy0xNC4zLWFybTY0LWFybS02NGJpdEocChBwbGF0Zm9ybV9yZWxl
YXNlEggKBjIzLjMuMEobCg9wbGF0Zm9ybV9zeXN0ZW0SCAoGRGFyd2luSnsKEHBsYXRmb3JtX3Zl
cnNpb24SZwplRGFyd2luIEtlcm5lbCBWZXJzaW9uIDIzLjMuMDogV2VkIERlYyAyMCAyMTozMDo1
OSBQU1QgMjAyMzsgcm9vdDp4bnUtMTAwMDIuODEuNX43L1JFTEVBU0VfQVJNNjRfVDYwMzBKCgoE
Y3B1cxICGAx6AhgB
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '1095'
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 07:54:06 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(\"learn_about_AI: learn_about_AI(topic) -> float - Useful for when
you need to learn about AI to write an paragraph about it.\\nDelegate work to
co-worker: Delegate work to co-worker(coworker: str, task: str, context: str)
- Delegate a specific task to one of the following co-workers:\\n.\\nThe input
to this tool should be the role of the coworker, the task you want them to do,
and ALL necessary context to exectue the task, they know nothing about the task,
so share absolute everything you know, don''t reference things but instead explain
them.\\nAsk question to co-worker: Ask question to co-worker(coworker: str,
question: str, context: str) - Ask a specific question to one of the following
co-workers:\\n.\\nThe input to this tool should be the role of the coworker,
the question you have for them, and ALL necessary context to ask the question
properly, they know nothing about the question, so share absolute everything
you know, don''t reference things but instead explain them.\",)\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 [learn_about_AI,
Delegate work to co-worker, Ask question to co-worker], 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: Write and then review an small paragraph on
AI until it''s AMAZING\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:
- '2015'
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-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
I"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
need"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
to"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
write"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
a"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
paragraph"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
on"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
AI"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
To"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
make"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
sure"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
it"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
is"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
accurate"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
and"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
informed"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
I"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
should"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
learn"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
more"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
about"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
the"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
topic"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
first"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
learn"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_about"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_AI"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n\n"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
Input"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
\""},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Art"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"ificial"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
Intelligence"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\""},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
\n"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuAb9futozKvF3zimcP6ZJBtmZL","object":"chat.completion.chunk","created":1707810846,"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:
- 854b805d9876f983-SJC
Cache-Control:
- no-cache, must-revalidate
Connection:
- keep-alive
Content-Type:
- text/event-stream
Date:
- Tue, 13 Feb 2024 07:54:08 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=vTfAZ2np16Jc3DkqOMKk.bcfYJITTIJiIkZJq0qG_bQ-1707810848-1-AajL5eUnTqoiGwspV1jZfLQIxJ93vZSnp+r3IjQPEDjH+kguQtGGmkIJ5r7lyxq+FlUyUKohFeGX179EEtw1c+8=;
path=/; expires=Tue, 13-Feb-24 08:24:08 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=FlH_eV4uKyogEOIOlhWt7IKrpsOsHpvEyp0UZairzpE-1707810848134-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:
- '775'
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:
- '299520'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 95ms
x-request-id:
- req_049e9b4e9a11a82b7c812dc23c283996
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: learn_about_ai\nTool
Description: learn_about_AI(topic) -> float - Useful for when you need to learn
about AI to write an paragraph about it.\nTool Arguments: {''topic'': {}}\n--\nTool
Name: delegate work to co-worker\nTool Description: Delegate work to co-worker(coworker:
str, task: str, context: str) - Delegate a specific task to one of the following
co-workers:\n.\nThe input to this tool should be the role of the coworker, the
task you want them to do, and ALL necessary context to exectue the task, they
know nothing about the task, so share absolute everything you know, don''t reference
things but instead explain them.\nTool Arguments: {''coworker'': {''type'':
''string''}, ''task'': {''type'': ''string''}, ''context'': {''type'': ''string''}}\n--\nTool
Name: ask question to co-worker\nTool Description: Ask question to co-worker(coworker:
str, question: str, context: str) - Ask a specific question to one of the following
co-workers:\n.\nThe input to this tool should be the role of the coworker, the
question you have for them, and ALL necessary context to ask the question properly,
they know nothing about the question, so share absolute everything you know,
don''t reference things but instead explain them.\nTool Arguments: {''coworker'':
{''type'': ''string''}, ''question'': {''type'': ''string''}, ''context'': {''type'':
''string''}}\n\nReturn a valid schema for the tool, use this text to inform
a valid ouput schema:\nThought: I need to write a paragraph on AI. To make sure
it is accurate and informed, I should learn more about the topic first.\n\nTool
Name: learn_about_AI\n\nTool Arguments: \"Artificial Intelligence\" \n```"}],
"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:
- '2713'
content-type:
- application/json
cookie:
- __cf_bm=vTfAZ2np16Jc3DkqOMKk.bcfYJITTIJiIkZJq0qG_bQ-1707810848-1-AajL5eUnTqoiGwspV1jZfLQIxJ93vZSnp+r3IjQPEDjH+kguQtGGmkIJ5r7lyxq+FlUyUKohFeGX179EEtw1c+8=;
_cfuvid=FlH_eV4uKyogEOIOlhWt7IKrpsOsHpvEyp0UZairzpE-1707810848134-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 |
H4sIAAAAAAAAA1yRTWvbQBCG7/oVw5zt4o/YcXULvSRNSgvtIVAFsV6N5U1WM2J3BC1G/72s5MhO
L0LsO8/DuzunDABdhTmgPRq1Tevnu3DsHqv7+/Vb9fT0/Lrdy9fvdz+fv62JftQ4S4TsX8nqO/XJ
StN6Uic8xjaQUUrW5e3idrdc7DbbIWikIp+wutX5zXyxXa7PxFGcpYg5/M4AAE7DN3Xjiv5gDovZ
+0lDMZqaMJ+GADCITydoYnRRDSvOLqEVVuJUlzvvr4JDxza1Lq3x/oMQANk0g/KBo4bOqoRfIv6L
8d5xfaUHQBPqriHW1B9PBQMUqCK+TI4CcyjQkwlcmr10WhpX4AzGsQlNYwM6wq2zI3gX1B2cdcbD
Ayt572piSwWm2b7gHqcm/fmvn97KS90G2cf/ro4Hxy4ey0AmCqfSUaUdRUnyMuyk+/DM2AZpWi1V
3oiTcLNajT68rP+Srj6fQxU1/oraLLNzQ4x/o1JTHhzXFNrgphVlffYPAAD//wMAGkM2OpkCAAA=
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 854b809e890af983-SJC
Cache-Control:
- no-cache, must-revalidate
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 13 Feb 2024 07:54:19 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:
- '2757'
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:
- '299474'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 105ms
x-request-id:
- req_1dfedf726d23015bab6767f51ee1b72a
status:
code: 200
message: OK
- request:
body: !!binary |
CooCCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS4QEKEgoQY3Jld2FpLnRl
bGVtZXRyeRLKAQoQk0Gb4hEVAk3Zlyo+GXrNpxIIIROBIgobM2gqClRvb2wgVXNhZ2UwATkQSCes
7VyzF0HYbims7VyzF0odCgl0b29sX25hbWUSEAoObGVhcm5fYWJvdXRfQUlKDgoIYXR0ZW1wdHMS
AhgBSlkKA2xsbRJSClB7Im5hbWUiOiBudWxsLCAibW9kZWxfbmFtZSI6ICJncHQtNCIsICJ0ZW1w
ZXJhdHVyZSI6IDAuNywgImNsYXNzIjogIkNoYXRPcGVuQUkifXoCGAE=
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '269'
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 07:54:21 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(\"learn_about_AI: learn_about_AI(topic) -> float - Useful for when
you need to learn about AI to write an paragraph about it.\\nDelegate work to
co-worker: Delegate work to co-worker(coworker: str, task: str, context: str)
- Delegate a specific task to one of the following co-workers:\\n.\\nThe input
to this tool should be the role of the coworker, the task you want them to do,
and ALL necessary context to exectue the task, they know nothing about the task,
so share absolute everything you know, don''t reference things but instead explain
them.\\nAsk question to co-worker: Ask question to co-worker(coworker: str,
question: str, context: str) - Ask a specific question to one of the following
co-workers:\\n.\\nThe input to this tool should be the role of the coworker,
the question you have for them, and ALL necessary context to ask the question
properly, they know nothing about the question, so share absolute everything
you know, don''t reference things but instead explain them.\",)\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 [learn_about_AI,
Delegate work to co-worker, Ask question to co-worker], 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: Write and then review an small paragraph on
AI until it''s AMAZING\nThought: I need to write a paragraph on AI. To make
sure it is accurate and informed, I should learn more about the topic first.\n\nAction:
learn_about_AI\n\nAction Input: \"Artificial Intelligence\" \n\nObservation:
AI is a very broad field.\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:
- '2268'
content-type:
- application/json
cookie:
- __cf_bm=vTfAZ2np16Jc3DkqOMKk.bcfYJITTIJiIkZJq0qG_bQ-1707810848-1-AajL5eUnTqoiGwspV1jZfLQIxJ93vZSnp+r3IjQPEDjH+kguQtGGmkIJ5r7lyxq+FlUyUKohFeGX179EEtw1c+8=;
_cfuvid=FlH_eV4uKyogEOIOlhWt7IKrpsOsHpvEyp0UZairzpE-1707810848134-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-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Now"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
that"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
I"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
have"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
learned"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
a"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
bit"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
about"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
AI"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
I"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
can"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
write"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
the"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
paragraph"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
\n\n"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
None"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n\n"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
Answer"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
\""},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Art"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"ificial"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
Intelligence"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
("},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"AI"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":")"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
is"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
an"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
expansive"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
field"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
that"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
encompasses"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
a"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
variety"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
of"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
sub"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"fields"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
from"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
machine"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
learning"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
to"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
neural"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
networks"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
It"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
is"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
the"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
science"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
of"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
making"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
machines"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
perform"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
tasks"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
that"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
would"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
require"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
human"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
intelligence"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
AI"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
is"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
rapidly"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
transforming"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
our"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
world"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
with"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
applications"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
ranging"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
from"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
personalized"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
recommendations"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
on"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
streaming"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
services"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
to"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
autonomous"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
driving"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
technologies"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
It"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
promises"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
a"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
future"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
of"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
enormous"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
potential"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
but"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
also"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
poses"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
significant"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
ethical"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
and"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
societal"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
challenges"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\""},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8rhuNUln1r7TCQVufGcpDZZ4hWoS8","object":"chat.completion.chunk","created":1707810859,"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:
- 854b80b11950f983-SJC
Cache-Control:
- no-cache, must-revalidate
Connection:
- keep-alive
Content-Type:
- text/event-stream
Date:
- Tue, 13 Feb 2024 07:54:20 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:
- '718'
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:
- '299460'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 108ms
x-request-id:
- req_e2463ae5b2f89178cf300a3d11616d8b
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: Write
and then review an small paragraph on AI until it''s AMAZING\nAI: \"Artificial
Intelligence (AI) is an expansive field that encompasses a variety of subfields,
from machine learning to neural networks. It is the science of making machines
perform tasks that would require human intelligence. AI is rapidly transforming
our world, with applications ranging from personalized recommendations on streaming
services to autonomous driving technologies. It promises a future of enormous
potential, but also poses significant ethical and societal challenges.\"\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:
- '1404'
content-type:
- application/json
cookie:
- __cf_bm=vTfAZ2np16Jc3DkqOMKk.bcfYJITTIJiIkZJq0qG_bQ-1707810848-1-AajL5eUnTqoiGwspV1jZfLQIxJ93vZSnp+r3IjQPEDjH+kguQtGGmkIJ5r7lyxq+FlUyUKohFeGX179EEtw1c+8=;
_cfuvid=FlH_eV4uKyogEOIOlhWt7IKrpsOsHpvEyp0UZairzpE-1707810848134-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 |
H4sIAAAAAAAAA1SST08bQQzF7/kU1pwhClBIlBvHnFohVFpVFTKz3h0T73g09pIixHevJgn/LnPw
88/z9OyXGUDgLqwhxIQexyKnq5qmu+Vt/vkYt/HS7srN+P338+bmx6N0v8JJI/ThkaK/UfOoYxFy
1nyQYyV0alPPlovl6myxulrthVE7koYNxU+/nS6uzi6ORFKOZGENf2YAAC/7t3nLHf0La1icvFVG
MsOBwvq9CSBUlVYJaMbmmD2cfIhRs1Pe271NBGkaMQPa1sATwfUGXGFX2Qkwd1DpiWkHCDaiCBSs
OFQsCTTD9WYOtwdmDxjgp4bEQxIeknMewBM6XFfnniOjwCY7ifBAORJQbpGhGRk8YWWdDGx66Jmk
MxDeEowYE2cCIay5DWzeMk0VBTL5TuvW5rBxQDGFkXKL3yDprrljA6+Yrdc6NlinCjut0oGnqtOQ
oOO+p0rZAUsRjnjg2y9Fm6+iLbRmnTxxRNlrppHJUSAmFKE8kM3DMerX9x2JDqXqQ9tnnkTe6z1n
tnRfCU1z24e5lgP+OgP4u7+F6ct6Q6k6Fr933VJuA88vzg/zwsfZfaiXl0fR1VE+Uavl7Ogw2LM5
jfc954Fqqbw/jeZz9jr7DwAA//8DAMUflrURAwAA
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 854b80e4df5af983-SJC
Cache-Control:
- no-cache, must-revalidate
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 13 Feb 2024 07:54:31 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:
- '3652'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15724800; includeSubDomains
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '300000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '299665'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 67ms
x-request-id:
- req_4da8be32de63a1b3d055cf814e3b0ef7
status:
code: 200
message: OK
version: 1