Skip to content

Commit f389347

Browse files
committed
Update README.md to clarify output messages and tool call detection
Signed-off-by: MyMirelHub <[email protected]>
1 parent 75a2373 commit f389347

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

conversation/go/http/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Open a new terminal window and run the multi app run template:
2121
<!-- STEP
2222
name: Run multi app run template
2323
expected_stdout_lines:
24-
- '== APP - conversation == Conversation input sent: What is dapr?'
24+
- '== APP - conversation == Input sent: What is dapr?'
2525
- '== APP - conversation == Output response: What is dapr?'
2626
- '== APP - conversation == Tool calling input sent: What is the weather like in San Francisco in celsius?'
2727
- '== APP - conversation == Output message: What is the weather like in San Francisco in celsius?'
28-
- '== APP - conversation == No tool calls in response'
28+
- '== APP - conversation == Tool calls detected:'
2929
expected_stderr_lines:
3030
output_match_mode: substring
3131
match_order: none
@@ -46,18 +46,19 @@ The terminal console output should look similar to this, where:
4646
- The LLM will either respond back with a tool call for the user, or an ask for more information.
4747

4848
```text
49-
== APP - conversation == Conversation input sent: What is dapr?
49+
== APP - conversation == Input sent: What is dapr?
5050
== APP - conversation == Output response: What is dapr?
5151
```
5252

5353
- The app then sends an input `What is the weather like in San Francisco in celsius?` to the `echo` Component mock LLM.
5454
- The mock LLM echoes `What is the weather like in San Francisco in celsius?` and calls the `get_weather` tool.
55-
- Since we are using the `echo` Component mock LLM, the tool call is not executed and the LLM returns `No tool calls in response`.
55+
- The echo Component returns the tool call information.
5656

5757
```text
5858
== APP - conversation == Tool calling input sent: What is the weather like in San Francisco in celsius?
5959
== APP - conversation == Output message: What is the weather like in San Francisco in celsius?
60-
== APP - conversation == No tool calls in response
60+
== APP - conversation == Tool calls detected:
61+
== APP - conversation == Tool call: map[function:map[arguments:unit,location name:get_weather] id:0]
6162
```
6263

6364
<!-- END_STEP -->
@@ -84,9 +85,10 @@ The terminal console output should look similar to this, where:
8485
- The mock LLM echoes `What is the weather like in San Francisco in celsius?`
8586

8687
```text
87-
== APP - conversation == Conversation input sent: What is dapr?
88+
== APP - conversation == Input sent: What is dapr?
8889
== APP - conversation == Output response: What is dapr?
8990
== APP - conversation == Tool calling input sent: What is the weather like in San Francisco in celsius?
9091
== APP - conversation == Output message: What is the weather like in San Francisco in celsius?
91-
== APP - conversation == No tool calls in response
92+
== APP - conversation == Tool calls detected:
93+
== APP - conversation == Tool call: map[function:map[arguments:unit,location name:get_weather] id:0]
9294
```

0 commit comments

Comments
 (0)