Skip to content

Commit

Permalink
Docs: Edits to Firebase doc for 1.0 GA
Browse files Browse the repository at this point in the history
  • Loading branch information
thedmail committed Feb 5, 2025
1 parent 65e5f8b commit 5a82528
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/tool-calling.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ const getWeather = ai.defineTool(
```

The syntax here looks just like the `defineFlow()` syntax; however, `name`,
`description` and `inputSchema` parameters are required. When writing a tool
`description`, and `inputSchema` parameters are required. When writing a tool
definition, take special care with the wording and descriptiveness of these
parameters, as they are vital for the LLM to effectively make use of the
parameters. They are vital for the LLM to make effective use of the
available tools.

### Using tools
Expand Down Expand Up @@ -199,8 +199,8 @@ Genkit will automatically handle the tool call if the LLM needs to use the
### Pause the tool loop by using interrupts

By default, Genkit repeatedly calls the LLM until every tool call has been
resolved. You may want to conditionally pause execution in situations where
you want to, for example:
resolved. You can conditionally pause execution in situations where you want
to, for example:

* Ask the user a question or display UI.
* Confirm a potentially risky action with the user.
Expand Down

0 comments on commit 5a82528

Please sign in to comment.