Skip to content

Commit

Permalink
Merge pull request #270 from huggingface/Unit1_fixes
Browse files Browse the repository at this point in the history
correct order in thought Act Observe notebook outputs
  • Loading branch information
Jofthomas authored Mar 3, 2025
2 parents 321f852 + 7b66f2f commit 978c025
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions units/en/unit1/dummy-agent-library.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,14 @@ print(output)
output:

````
Thought: I will check the weather in London.
Action:
```
{
"action": "get_weather",
"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.
````

Expand All @@ -231,14 +231,14 @@ print(output)
output:

````
Thought: I will check the weather in London.
Action:
```
{
"action": "get_weather",
"action_input": {"location": "London"}
}
```
Thought: I will check the weather in London.
Observation:
````

Expand Down Expand Up @@ -307,15 +307,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|>
Thought: I will check the weather in London.
Action:
```
{
"action": "get_weather",
"action_input": {"location": {"type": "string", "value": "London"}
}
```
Thought: I will check the weather in London.
Observation:the weather in London is sunny with low temperatures.
````

Expand Down

0 comments on commit 978c025

Please sign in to comment.