Removing LangChain and Rebuilding Executor (#1322)

* rebuilding executor

* removing langchain

* Making all tests good

* fixing types and adding ability for nor using system prompts

* improving types

* pleasing the types gods

* pleasing the types gods

* fixing parser, tools and executor

* making sure all tests pass

* final pass

* fixing type

* Updating Docs

* preparing to cut new version
This commit is contained in:
João Moura
2024-09-16 14:14:04 -03:00
committed by GitHub
parent 322780a5f3
commit e77442cf34
177 changed files with 27272 additions and 1618561 deletions

View File

@@ -1,82 +1,35 @@
interactions:
- request:
body: !!binary |
Cp4ICiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS9QcKEgoQY3Jld2FpLnRl
bGVtZXRyeRLeBwoQ8bJDLUfoc9+4gB5K/2m2FBIIx4EddC/QkE8qDENyZXcgQ3JlYXRlZDABOSDy
OLKM/7gXQRA8O7KM/7gXShoKDmNyZXdhaV92ZXJzaW9uEggKBjAuMTYuM0oaCg5weXRob25fdmVy
c2lvbhIICgYzLjExLjdKMQoHY3Jld19pZBImCiRhMmUzYWRlOS1kMDVmLTQzM2YtYmEzZi04NmU4
ZmJkOGI1NTBKHAoMY3Jld19wcm9jZXNzEgwKCnNlcXVlbnRpYWxKFQoNY3Jld19sYW5ndWFnZRIE
CgJlbkoaChRjcmV3X251bWJlcl9vZl90YXNrcxICGAFKGwoVY3Jld19udW1iZXJfb2ZfYWdlbnRz
EgIYAUrJAgoLY3Jld19hZ2VudHMSuQIKtgJbeyJpZCI6ICI5NjQzYTAwZi1mZWQ5LTQwMmQtYWM2
My02NTQzYzFlNjFkMDgiLCAicm9sZSI6ICJTY29yZXIiLCAibWVtb3J5X2VuYWJsZWQ/IjogZmFs
c2UsICJ2ZXJib3NlPyI6IGZhbHNlLCAibWF4X2l0ZXIiOiAxNSwgIm1heF9ycG0iOiBudWxsLCAi
aTE4biI6ICJlbiIsICJsbG0iOiAie1wibmFtZVwiOiBudWxsLCBcIm1vZGVsX25hbWVcIjogXCJn
cHQtNFwiLCBcInRlbXBlcmF0dXJlXCI6IDAuNywgXCJjbGFzc1wiOiBcIkNoYXRPcGVuQUlcIn0i
LCAiZGVsZWdhdGlvbl9lbmFibGVkPyI6IGZhbHNlLCAidG9vbHNfbmFtZXMiOiBbXX1dSoYBCgpj
cmV3X3Rhc2tzEngKdlt7ImlkIjogImEzMDAxOGFjLTEwZjItNDdlNi1hNzU2LWFhMmFjNDE4MTll
YSIsICJhc3luY19leGVjdXRpb24/IjogZmFsc2UsICJhZ2VudF9yb2xlIjogIlNjb3JlciIsICJ0
b29sc19uYW1lcyI6IFtdfV1KKAoIcGxhdGZvcm0SHAoabWFjT1MtMTQuMy1hcm02NC1hcm0tNjRi
aXRKHAoQcGxhdGZvcm1fcmVsZWFzZRIICgYyMy4zLjBKGwoPcGxhdGZvcm1fc3lzdGVtEggKBkRh
cndpbkp7ChBwbGF0Zm9ybV92ZXJzaW9uEmcKZURhcndpbiBLZXJuZWwgVmVyc2lvbiAyMy4zLjA6
IFdlZCBEZWMgMjAgMjE6MzA6NTkgUFNUIDIwMjM7IHJvb3Q6eG51LTEwMDAyLjgxLjV+Ny9SRUxF
QVNFX0FSTTY0X1Q2MDMwSgoKBGNwdXMSAhgMegIYAQ==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Connection:
- keep-alive
Content-Length:
- '1057'
Content-Type:
- application/x-protobuf
User-Agent:
- OTel-OTLP-Exporter-Python/1.23.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:
- Sat, 02 Mar 2024 16:30:40 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "user", "content": "You are Scorer. You''re an expert
scorer, specialized in scoring titles.\nYour personal goal is: Score the titleTo
give my best complete final answer to the task use the exact following format:\n\nThought:
I now can give a great answer\nFinal Answer: my best complete final answer to
the task.\nYour final answer must be the great and the most complete as possible,
it must be outcome described.\n\nI MUST use these formats, my job depends on
it!\n\nThought: \n\nCurrent Task: Give me an integer score between 1-5 for the
following title: ''The impact of AI in the future of work''\n\nThis is the expect
criteria for your final answer: The score of the title. \n you MUST return the
actual complete content as the final answer, not a summary.\n\nBegin! This is
VERY important to you, use the tools available and give your best Final Answer,
your job depends on it!\n\nThought: \n"}], "model": "gpt-4", "n": 1, "stop":
["\nObservation"], "stream": true, "temperature": 0.7}'
body: '{"messages": [{"role": "system", "content": "You are Scorer. You''re an
expert scorer, specialized in scoring titles.\nYour personal goal is: Score
the title\nTo give my best complete final answer to the task use the exact following
format:\n\nThought: I now can give a great answer\nFinal Answer: Your final
answer must be the great and the most complete as possible, it must be outcome
described.\n\nI MUST use these formats, my job depends on it!"}, {"role": "user",
"content": "\nCurrent Task: Give me an integer score between 1-5 for the following
title: ''The impact of AI in the future of work''\n\nThis is the expect criteria
for your final answer: The score of the title.\nyou MUST return the actual complete
content as the final answer, not a summary.\n\nBegin! This is VERY important
to you, use the tools available and give your best Final Answer, your job depends
on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate, br
- gzip, deflate
connection:
- keep-alive
content-length:
- '1012'
- '943'
content-type:
- application/json
cookie:
- __cf_bm=1SckBhvJ18Dazp6bi8DEKYeiS9Q4.6_6i3nmLBw9b6g-1726476036-1.0.1.1-TnN4UpDXA33YXCVCUWOaZ12vGIg_o5NpJQEUHgjn6XdUgb7M0ND8PdkTfkd8rrxG5XFlPRMzI54GxZ0FeUY9xw;
_cfuvid=0Rs4xTPk7h7OIXuSbTgMVVD9JSoZeKMwnygKHoHQo3k-1726476036297-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.12.0
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
@@ -86,7 +39,9 @@ interactions:
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.12.0
- 1.45.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
@@ -94,527 +49,59 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
body:
string: 'data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Upon"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
reviewing"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
the"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
title"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
''"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
impact"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
of"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
AI"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
in"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
the"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
future"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
of"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
work"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"'',"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
I"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
note"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
that"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
it"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
is"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
a"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
highly"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
relevant"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
and"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
engaging"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
topic"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
given"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
the"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
current"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
technological"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
advancements"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
and"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
the"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
increasing"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
interest"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
in"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
artificial"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
intelligence"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
("},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"AI"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":")."},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
The"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
title"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
directly"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
addresses"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
a"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
significant"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
concern"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
and"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
curiosity"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
of"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
many"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
making"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
it"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
appealing"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
However"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
it"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
is"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
also"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
a"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
rather"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
common"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
topic"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
and"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
could"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
benefit"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
from"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
a"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
more"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
unique"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
perspective"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
or"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
specific"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
angle"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
Taking"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
these"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
factors"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
into"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
consideration"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
I"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
am"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
ready"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
to"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
assign"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
a"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
score"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
Answer"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
My"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
score"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
for"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
the"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
title"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
''"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
impact"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
of"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
AI"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
in"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
the"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
future"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
of"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
work"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"''"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
is"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"4"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
out"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
of"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
data: {"id":"chatcmpl-8yMXuYgmXpRmScbQeSMaWjD8HmCew","object":"chat.completion.chunk","created":1709397038,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
data: [DONE]
'
content: "{\n \"id\": \"chatcmpl-A81kyqMRKBXOWIXl88Hk758IFYoed\",\n \"object\":
\"chat.completion\",\n \"created\": 1726476740,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I now can give a great answer\\nFinal
Answer: 4\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
186,\n \"completion_tokens\": 13,\n \"total_tokens\": 199,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 85e2c5c40aff1aab-GRU
Cache-Control:
- no-cache, must-revalidate
- 8c3f9ea91f572233-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- text/event-stream
- application/json
Date:
- Sat, 02 Mar 2024 16:30:39 GMT
- Mon, 16 Sep 2024 08:52:20 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=GhUNQAkcnORiRqSqGefnZfWqEbVabwW7WleRiZdjKyk-1709397039-1.0.1.1-2CzzZFGQP8N8DAy9bzSiCGy8AFxwvrhhlNE8Y0wcZJl8M944UFx6uI9QM8Gkyx_kU4nRWShaNMynhrmndGSl_w;
path=/; expires=Sat, 02-Mar-24 17:00:39 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=S8GPwg8.IlrwDb_TpjkUM5W149EZyTJsuhyUXpg3.IA-1709397039443-0.0.1.1-604800000;
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
Transfer-Encoding:
- chunked
access-control-allow-origin:
- '*'
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-model:
- gpt-4-0613
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '415'
- '346'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15724800; includeSubDomains
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '300000'
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '299767'
- '29999781'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 46ms
- 0s
x-request-id:
- req_e85e2f883956f4fc25b51edf85f6081f
status:
code: 200
message: OK
- req_9caddaa1f67b0540e92c831d2df11c09
http_version: HTTP/1.1
status_code: 200
version: 1