Skip to content

Commit e632ea3

Browse files
authored
Update ai-agents.md
1 parent d0ee453 commit e632ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/ai-agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ The **init.py** file commences by initiating the loading of environment variable
443443
The LLM prompt initially began with the simple statement "You are a helpful and friendly travel assistant for a cruise company." However, through testing, it was determined that more consistent results could be obtained by including the instruction "Answer travel questions to the best of your ability, providing only relevant information. To book a cruise, capturing the person's name is essential." The results are presented in HTML format to enhance the visual appeal within the web interface.
444444

445445
#### Agent Tools
446-
[Tools](#common-features-of-ai-agents) are interfaces that an agent can use to interact with the world, often done through function calling.
446+
[Tools](#what-are-ai-agents) are interfaces that an agent can use to interact with the world, often done through function calling.
447447

448448
When creating an agent, it is essential to furnish it with a set of tools that it can utilize. The ```@tool``` decorator offers the most straightforward approach to defining a custom tool. By default, the decorator uses the function name as the tool name, although this can be replaced by providing a string as the first argument. Moreover, the decorator will utilize the function's docstring as the tool's description, thus requiring the provision of a docstring.
449449

0 commit comments

Comments
 (0)