Skip to content

Commit ffde24f

Browse files
authored
update description sentence wording
1 parent 483ffc2 commit ffde24f

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/ai/conversation/tools

1 file changed

+1
-1
lines changed

src/pages/[platform]/ai/conversation/tools/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ There are a few different ways to define LLM tools in the Amplify AI kit.
3737
2. Query tools
3838
3. Lambda tools
3939

40-
The easiest way you can define tools for the LLM to use is with data models and custom queries in your data schema. When you define tools in your data schema, Amplify will take care of all of the heavy lifting required to properly implement such as:
40+
The easiest way to define tools for your conversation route is with `a.ai.dataTool()` for data models and custom queries in your data schema. When you define a tool for a conversation route, Amplify takes care of the heavy lifting:
4141

4242
* **Describing the tools to the LLM:** Each tool definition is an Amplify model query or custom query that is defined in the schema. Amplify knows the input parameters needed for that tool and describes them to the LLM.
4343
* **Invoking the tool with the right parameters:** After the LLM requests to use a tool with necessary input parameters, the conversation handler Lambda function invokes the tool, returns the result to the LLM, and continues the conversation.

0 commit comments

Comments
 (0)