Files
crewAI/tests/cassettes/test_using_contextual_memory.yaml
2024-09-18 04:17:41 -03:00

136 lines
6.7 KiB
YAML

interactions:
- request:
body: '{"messages": [{"role": "system", "content": "You are Researcher. You''re
an expert in research and you love to learn new things.\nYour personal goal
is: You research about math.\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: Research a topic to teach
a kid aged 6 about math.\n\nThis is the expect criteria for your final answer:
A topic, explanation, angle, and examples.\nyou MUST return the actual complete
content as the final answer, not a summary.\n\n# Useful context: \n<MagicMock
name=''build_context_for_task()'' id=''6248576016''>\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
connection:
- keep-alive
content-length:
- '1013'
content-type:
- application/json
cookie:
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.46.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.46.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A8ixUVF2BmlnWHdi81FoqTu5gQAC4\",\n \"object\":
\"chat.completion\",\n \"created\": 1726642808,\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.\\n\\nFinal
Answer: \\n\\n**Topic: Basic Shapes and Their Properties**\\n\\n**Explanation:**\\nToday,
we will learn about basic shapes. Shapes are everywhere around us and are one
of the first things we can learn about math. Shapes help us understand and describe
the objects and world around us.\\n\\n**Angle:**\\nLet's examine each shape,
recognizing its name, how many sides it has, and where we might see it in our
everyday life.\\n\\n**Examples:**\\n\\n1. **Circle:**\\n - **Explanation:**
A circle is a round shape that has no corners and no sides. All the points on
the edge of a circle are the same distance from the center.\\n - **Everyday
Examples:** Wheels of a car, a coin, a clock.\\n - **Image:** ![A circle](https://upload.wikimedia.org/wikipedia/commons/thumb/0/0e/Circle_-_black_simple.svg/1024px-Circle_-_black_simple.svg.png)\\n\\n2.
**Square:**\\n - **Explanation:** A square has four equal sides and four corners
(right angles). Every side is the same length.\\n - **Everyday Examples:**
A checkerboard, a window, a piece of bread.\\n - **Image:** ![A square](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Simple_square.svg/1024px-Simple_square.svg.png)\\n\\n3.
**Triangle:**\\n - **Explanation:** A triangle has three sides and three corners.
Triangles can come in different shapes \u2013 they can be tall and narrow or
short and wide.\\n - **Everyday Examples:** A slice of pizza, a road sign,
a pyramid.\\n - **Image:** ![A triangle](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Triangle_-_black_simple.svg/1024px-Triangle_-_black_simple.svg.png)\\n\\n4.
**Rectangle:**\\n - **Explanation:** A rectangle has four sides and four right-angled
corners, but unlike the square, opposite sides are equal.\\n - **Everyday
Examples:** A door, a book cover, a smartphone.\\n - **Image:** ![A rectangle](https://upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Black_rectangle.svg/1024px-Black_rectangle.svg.png)\\n\\n5.
**Oval:**\\n - **Explanation:** An oval looks like a circle that has been
stretched out. It has no corners or straight sides.\\n - **Everyday Examples:**
An egg, a racetrack, a mirror.\\n - **Image:** ![An oval](https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Oval_shape.svg/1024px-Oval_shape.svg.png)\\n\\n**Interactive
Activity:**\\nUsing colored paper, scissors, and glue, you can cut out these
shapes and arrange them to make fun pictures. For example:\\n- Use a circle
for the sun.\\n- Use triangles for trees.\\n- Use squares and rectangles to
make a house.\\n\\nBy recognizing and enjoying these shapes, children can build
a solid foundation in geometry, an essential aspect of math that they will build
upon as they grow.\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
205,\n \"completion_tokens\": 655,\n \"total_tokens\": 860,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_8dd226ca9c\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c4f750eee74a67a-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 18 Sep 2024 07:00:15 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '7410'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999765'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_4525c82a4e06307fc5b2e7ff1e6982cd
http_version: HTTP/1.1
status_code: 200
version: 1