mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
196 lines
7.1 KiB
YAML
196 lines
7.1 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
|
|
personal goal is: test goal\nTOOLS:\n------\n\nYou have access to the following
|
|
tools:\n\n\n\nTo use a tool, please use the following format:\n\n```\nThought:
|
|
Do I need to use a tool? Yes\nAction: the action to take, should be one of []\nAction
|
|
Input: the input to the action\nObservation: the result of the action\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]\n```\n\t\tThis is the summary of your work so far:\n \nBegin!
|
|
This is VERY important to you, your job depends on it!\n\nCurrent Task: How
|
|
much is 1 + 1?\n\n"}], "model": "gpt-4", "max_tokens": null, "stream": false,
|
|
"n": 1, "temperature": 0.7, "stop": ["\nObservation"]}'
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Authorization:
|
|
- Bearer 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
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '869'
|
|
Content-Type:
|
|
- application/json
|
|
User-Agent:
|
|
- OpenAI/v1 PythonBindings/0.28.1
|
|
X-OpenAI-Client-User-Agent:
|
|
- '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version":
|
|
"3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai",
|
|
"uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17
|
|
PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}'
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA1RQwUrDQBC95yuGvZpK0pTSBEQkpZhLFSp4UCnrZky2bnZCdkrV0n+XTdNWL3N4
|
|
b96b92YfAAhdigyEqiWrpjWjWUHTTb7KV8+P8TJfRPPiXv58d6uK5rsHEXoFvW9Q8Ul1rahpDbIm
|
|
e6RVh5LRu8bTNJ2kyThKe6KhEo2XVS2PJqNoGieDoiat0IkMXgIAgH0/fTZb4pfIIApPSIPOyQpF
|
|
dl4CEB0ZjwjpnHYsLYvwQiqyjLaP+1TTtqo5gzlBARaxBCbYOgQJTGRuYUmvdqGtNHBn3Q67DGK4
|
|
ghhuYCwGy8M5y4e22tXrDqUj6/0dU3tcOwQAb3237b+4ou2oaXnN9InWF45nQzdxeeOFHScDycTS
|
|
/MGjJPBHDsEvAAAA//8DANNUqtjDAQAA
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8232450e7c33016c-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 09 Nov 2023 01:26:50 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E=;
|
|
path=/; expires=Thu, 09-Nov-23 01:56:50 GMT; 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:
|
|
- clearbit-2
|
|
openai-processing-ms:
|
|
- '911'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '100'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '99'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299813'
|
|
x-ratelimit-reset-requests:
|
|
- 600ms
|
|
x-ratelimit-reset-tokens:
|
|
- 37ms
|
|
x-request-id:
|
|
- 57fa8c5d7c0ca15499c9624bb1a13c0f
|
|
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: How much
|
|
is 1 + 1?\nAI: 1 + 1 = 2\n\nNew summary:"}], "model": "gpt-4", "max_tokens":
|
|
null, "stream": false, "n": 1, "temperature": 0.7}'
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Authorization:
|
|
- Bearer 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
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '899'
|
|
Content-Type:
|
|
- application/json
|
|
Cookie:
|
|
- __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E=
|
|
User-Agent:
|
|
- OpenAI/v1 PythonBindings/0.28.1
|
|
X-OpenAI-Client-User-Agent:
|
|
- '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version":
|
|
"3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai",
|
|
"uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17
|
|
PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}'
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
body:
|
|
string: !!binary |
|
|
H4sIAAAAAAAAA1SQT08CMRDF7/spJr0KhF2QuHvzpESjHsCLMaSUkdZtO2s7CEL47qbLP73MYd77
|
|
zbyZXQYgzEJUIJSWrFxjuzdjGtX2e/u8nk7u+vP66XVjXh7K6f2jLreikwiaf6LiE9VT5BqLbMgf
|
|
ZBVQMqap+agsh+WgyPut4GiBNmHLhrvDbn+UD46EJqMwigreMgCAXVtTNr/Ajaig5duOwxjlEkV1
|
|
NgGIQDZ1hIzRRJaeReciKvKMvo070Qh65aQHGesIrBFuxyAhmnQBOMkamkBzi64DTLDWRumTTVEI
|
|
qNj+gPRxjSHxkiGHK8gBv1bSRih64rh4f078YbyJehZQRvIpRWRqDrZ9BvDefmD17yjRBHINz5hq
|
|
9Okt+fXoME9cnn1Ri5PIxNL+oW6KLC3ZZ78AAAD//wMAQUWO/+kBAAA=
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 823245165c88016c-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 09 Nov 2023 01:26:52 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
access-control-allow-origin:
|
|
- '*'
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-model:
|
|
- gpt-4-0613
|
|
openai-organization:
|
|
- clearbit-2
|
|
openai-processing-ms:
|
|
- '1229'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15724800; includeSubDomains
|
|
x-ratelimit-limit-requests:
|
|
- '100'
|
|
x-ratelimit-limit-tokens:
|
|
- '300000'
|
|
x-ratelimit-remaining-requests:
|
|
- '99'
|
|
x-ratelimit-remaining-tokens:
|
|
- '299795'
|
|
x-ratelimit-reset-requests:
|
|
- 600ms
|
|
x-ratelimit-reset-tokens:
|
|
- 40ms
|
|
x-request-id:
|
|
- 5a5b201eb4124de1372291f96d0142df
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|