updating tests

This commit is contained in:
João Moura
2024-09-23 03:58:41 -03:00
parent 035929814e
commit 355338767c
98 changed files with 36353 additions and 16646 deletions

View File

@@ -1,4 +1,89 @@
interactions:
- request:
body: !!binary |
CpIYCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS6RcKEgoQY3Jld2FpLnRl
bGVtZXRyeRKVAQoQ2wlYGhLVkzhEH6Wkzi7xnhIIdx41gZUV7bkqClRvb2wgVXNhZ2UwATnQgXwF
psv3F0EY24AFpsv3F0oaCg5jcmV3YWlfdmVyc2lvbhIICgYwLjYxLjBKIQoJdG9vbF9uYW1lEhQK
Em11bHRpcGxjYXRpb25fdG9vbEoOCghhdHRlbXB0cxICGAF6AhgBhQEAAQAAEpACChBp60Q5Fv28
pHM3PEzm9W1UEgjPJFgjNn9+DCoOVGFzayBFeGVjdXRpb24wATmgOUXEpcv3F0Hwvb8kpsv3F0ou
CghjcmV3X2tleRIiCiA3NWQ5ZjU3NTIyNjM5MmVmYmRlZDBmYWJlZDU2NTZlYkoxCgdjcmV3X2lk
EiYKJDljZTlhZjE4LWFhMmMtNDc3Mi04M2YyLTA5ZWE2MjAxYjEzOUouCgh0YXNrX2tleRIiCiAz
ZDBiZGVlMzEyN2FmOTkwYjM2NmMxMmRkYmQ0YThhNkoxCgd0YXNrX2lkEiYKJGM5YWRiNzE3LWY5
MGItNDk0Yy05M2VhLTJmNDg1Njc0MTQ5ZnoCGAGFAQABAAASjgIKEFTnLG+/gko3cvZ6MW0bufMS
CAYibsVXEAXGKgxUYXNrIENyZWF0ZWQwATm4mvckpsv3F0FQTPkkpsv3F0ouCghjcmV3X2tleRIi
CiA3NWQ5ZjU3NTIyNjM5MmVmYmRlZDBmYWJlZDU2NTZlYkoxCgdjcmV3X2lkEiYKJDljZTlhZjE4
LWFhMmMtNDc3Mi04M2YyLTA5ZWE2MjAxYjEzOUouCgh0YXNrX2tleRIiCiAzMGYzMjg2M2EyZWI3
OThkMTA5NmM5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BImCiRkNDUxNmYyMS03YTE0LTRkZTItOWUzMS0zNTg2OWU0
OTJjNDh6AhgBhQEAAQAA
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '3093'
Content-Type:
- application/x-protobuf
User-Agent:
- OTel-OTLP-Exporter-Python/1.27.0
method: POST
uri: https://telemetry.crewai.com:4319/v1/traces
response:
body:
string: "\n\0"
headers:
Content-Length:
- '2'
Content-Type:
- application/x-protobuf
Date:
- Mon, 23 Sep 2024 06:28:21 GMT
status:
code: 200
message: OK
- 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
@@ -10,9 +95,9 @@ interactions:
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
name=''build_context_for_task()'' id=''6104293392''>\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:"]}'
job depends on it!\n\nThought:"}], "model": "gpt-4o"}'
headers:
accept:
- application/json
@@ -21,16 +106,16 @@ interactions:
connection:
- keep-alive
content-length:
- '1013'
- '985'
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
- __cf_bm=hYfEMfBWpIoRPjx9ZBZg6DVeMOMr1IZt9ioup8yWZs0-1727072673-1.0.1.1-Ro7GCLuWS0K5ob0mSTYSmovONKNyxsK6oSA5io_Vwqhe6P0G7Ow4CuZUaWAaCdFGQUd7XZiFH0mI_sQC3uqe0g;
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.46.0
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
@@ -40,7 +125,7 @@ interactions:
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.46.0
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
@@ -50,46 +135,43 @@ interactions:
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
content: "{\n \"id\": \"chatcmpl-AAWqSu16OCJZOFngJuEoV0HyBxdYL\",\n \"object\":
\"chat.completion\",\n \"created\": 1727072900,\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"
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal
Answer: \\n\\n**Topic: Basic Addition**\\n\\n**Explanation:** Addition is one
of the fundamental operations in math that kids need to understand early on.
It involves putting together two or more numbers to find their total.\\n\\n**Angle:**
Let's make it fun and relatable by connecting addition to real-life situations
that a 6-year-old can easily understand. We'll use simple, everyday objects
like toys or fruits.\\n\\n**Examples:**\\n\\n1. **Toys Example:**\\n - Imagine
you have 2 toy cars and your friend gives you 3 more toy cars. How many toy
cars do you have now? \\n - Here, you have 2 + 3 = 5 toy cars.\\n\\n2. **Fruits
Example:**\\n - You have 4 apples, and your mom gives you 2 more apples. How
many apples do you have in total?\\n - Here, you have 4 + 2 = 6 apples.\\n\\n3.
**Fingers Example:**\\n - Let's use our fingers! Show 3 fingers on one hand
and 2 fingers on the other hand. How many fingers are showing in total?\\n -
Here, you have 3 + 2 = 5 fingers.\\n\\n**Activities to Reinforce Learning:**\\n\\n1.
**Counting Objects:**\\n - Give the child a set of small objects like beads,
buttons, or crayons. Ask them to count out a certain number in one pile and
another number in a second pile, then combine the piles and count the total.\\n\\n2.
**Drawing Addition:**\\n - Let the child draw pictures representing addition
problems. For instance, they can draw 2 apples on one side and 3 on the other
side. Then, they count all the apples together.\\n\\n3. **Story Problems:**\\n
\ - Create simple story problems that involve addition. For example, \\\"You
have 1 balloon, and you get 2 more balloons. How many balloons do you have altogether?\\\"
Ask the child to solve it and draw the balloons if they need to.\\n\\nBy relating
addition to everyday activities and objects, it makes the learning experience
both fun and meaningful for a 6-year-old child.\\n\\n\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 205,\n \"completion_tokens\":
447,\n \"total_tokens\": 652,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_3537616b13\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c4f750eee74a67a-MIA
- 8c78795d1b26a4ee-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -97,7 +179,7 @@ interactions:
Content-Type:
- application/json
Date:
- Wed, 18 Sep 2024 07:00:15 GMT
- Mon, 23 Sep 2024 06:28:32 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -106,12 +188,10 @@ interactions:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '7410'
- '11512'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -129,7 +209,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_4525c82a4e06307fc5b2e7ff1e6982cd
- req_6f40c6658665d8d99561a2c56ab974ff
http_version: HTTP/1.1
status_code: 200
version: 1