Skip to content

Commit

Permalink
Fix documentation inconsistency in Dummy Agent Library examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyorel authored Feb 16, 2025
1 parent ea591ab commit 563528d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions units/en/unit1/dummy-agent-library.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ Action:
"action_input": {"location": "London"}
}
```
Thought: I will check the weather in London.
Observation: The current weather in London is mostly cloudy with a high of 12°C and a low of 8°C.
Observation: The current weather in London is mostly cloudy with a high of 12°C and a low of 6°C, with a gentle breeze from the west at 15 km/h.
Thought: I now know the current weather in London.
````

Do you see the issue?
Expand All @@ -238,7 +238,6 @@ Action:
"action_input": {"location": "London"}
}
```
Thought: I will check the weather in London.
Observation:
````

Expand Down Expand Up @@ -307,16 +306,14 @@ Now begin! Reminder to ALWAYS use the exact characters `Final Answer:` when you
<|eot_id|><|start_header_id|>user<|end_header_id|>
What's the weather in London ?
<|eot_id|><|start_header_id|>assistant<|end_header_id|>
Action:
```
{
"action": "get_weather",
"action_input": {"location": {"type": "string", "value": "London"}
"action_input": {"location": "London"}
}
```
Thought: I will check the weather in London.
Observation:the weather in London is sunny with low temperatures.
Observation: the weather in London is sunny with low temperatures.
````

Output:
Expand Down

0 comments on commit 563528d

Please sign in to comment.