mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
300 lines
11 KiB
YAML
300 lines
11 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\nmultiplier: multiplier(numbers) -> float - Useful for when you need
|
|
to multiply two numbers together. \n\t\t\tThe input to this tool should be a
|
|
comma separated list of numbers of \n\t\t\tlength two, representing the two
|
|
numbers you want to multiply together. \n\t\t\tFor example, `1,2` would be the
|
|
input if you wanted to multiply 1 by 2.\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 [multiplier]\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: What is 3 times 4\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:
|
|
- '1217'
|
|
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 |
|
|
H4sIAAAAAAAAA1RQTUvDQBC951cMe06lTWJo9iKlglQEL2IRLWW7GZvVzc6SnYBS+t9l008vc3hv
|
|
3rz3ZpcACFMLCUI3inXr7Wi6oLJ9yuduWWavv3OznD0/Fo3ql25TP4g0KmjzhZpPqhtNrbfIhtyB
|
|
1h0qxnh1UlZVUeXZJBuIlmq0Ubb1PCpG43KSHxUNGY1BSHhPAAB2w4zZXI0/QsI4PSEthqC2KOR5
|
|
CUB0ZCMiVAgmsHIs0gupyTG6Ie5LQ/22YQn3BAtwiDUwQR8QFDCRvYM3DB9upmMZCW1v2XhrsDth
|
|
sHC+Zwl5Woijw/4c7dM4E5p1hyqQi3aByR/W9gnAaqja/0svfEet5zXTN7rYP7utDvfE5atXbH4k
|
|
mVjZK3yaJdFkn/wBAAD//wMAU+pOotIBAAA=
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 823245216f2f520b-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 09 Nov 2023 01:26:53 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:
|
|
- '1105'
|
|
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:
|
|
- '299729'
|
|
x-ratelimit-reset-requests:
|
|
- 600ms
|
|
x-ratelimit-reset-tokens:
|
|
- 54ms
|
|
x-request-id:
|
|
- 951ac7b6b78d0178415f15e6576c49e6
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- 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\nmultiplier: multiplier(numbers) -> float - Useful for when you need
|
|
to multiply two numbers together. \n\t\t\tThe input to this tool should be a
|
|
comma separated list of numbers of \n\t\t\tlength two, representing the two
|
|
numbers you want to multiply together. \n\t\t\tFor example, `1,2` would be the
|
|
input if you wanted to multiply 1 by 2.\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 [multiplier]\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: What is 3 times 4\nThought:
|
|
Do I need to use a tool? Yes\nAction: multiplier\nAction Input: 3,4\nObservation:
|
|
12\nThought: \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:
|
|
- '1321'
|
|
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 |
|
|
H4sIAAAAAAAAA1SQS0/DQAyE7/kV1p5b1DwUSC6oqKpUIXHgCqhaNibdNrFD7NJKVf872vQFlz3M
|
|
55kd+xABGF+ZEoxbWXVt14wfFpyT/DzNdt9I06zevM6f11b32/t57c0oOPhzjU4vrjvHbdegeqYT
|
|
dj1axZAa50WRFWkSpwNoucIm2OpOx9l4ksfp2bFi71BMCW8RAMBheEM3qnBvSpiMLkqLIrZGU16H
|
|
AEzPTVCMFfGiltSMbtAxKdJQd8awAEKsQBm2gmBBmZtHeOF3mnuyDUxJdtiXkIL6FgUy8AJxYs55
|
|
x2uRL09eVsserTCFcFHuTmPHCOBjWGz7r6vpem47XSpvkMK2SZGc8szthn9ofIbKapubnsZpFD45
|
|
Rr8AAAD//wMAIwC1ssABAAA=
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8232452a2e6e520b-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 09 Nov 2023 01:26:55 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:
|
|
- '1095'
|
|
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:
|
|
- '299704'
|
|
x-ratelimit-reset-requests:
|
|
- 600ms
|
|
x-ratelimit-reset-tokens:
|
|
- 59ms
|
|
x-request-id:
|
|
- aa5df5b29842f6d68339b5c4887eeecc
|
|
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: What
|
|
is 3 times 4\nAI: 3 times 4 is 12\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:
|
|
- '904'
|
|
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 |
|
|
H4sIAAAAAAAAA1SQu27DMAxFd38FodkJYuftrR1aZAzarSgCRWZsNbIomHQfCPLvhZyH24UD7z3k
|
|
JU8JgLKlKkCZWotpghutNrQIj9q9PG+PT9uKpeoO9udrv/zMNlalkaD9Bxq5UWNDTXAolvxFNi1q
|
|
wTg1W6zXs/U0z+a90FCJLmJVkNFsNFlk0ytRkzXIqoC3BADg1NeYzZf4rQqYpLdOg8y6QlXcTQCq
|
|
JRc7SjNbFu1FpYNoyAv6Pu5rjVB3jfag+cggNcLDBoTAaGc6pwVhCmIbZJiloH15s7TIgXwZES2D
|
|
ByxDlo/Vddn5nvJgveV616Jm8nEzC4WL7ZwAvPdXd/8OUaGlJshO6Ig+viKbzy/z1PDgQc2XV1FI
|
|
tPtDrfIkLjknvwAAAP//AwC2/4B/3QEAAA==
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 823245332d7b520b-GRU
|
|
Cache-Control:
|
|
- no-cache, must-revalidate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 09 Nov 2023 01:26:56 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:
|
|
- '1275'
|
|
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:
|
|
- '299794'
|
|
x-ratelimit-reset-requests:
|
|
- 600ms
|
|
x-ratelimit-reset-tokens:
|
|
- 41ms
|
|
x-request-id:
|
|
- ac804646da74e95835f869ebd5313225
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|