mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
fixes to issues 1 2 and 3. Plus tuning
This commit is contained in:
@@ -3,17 +3,19 @@ from models.tool_definitions import ToolDefinition, ToolArgument
|
||||
find_events_tool = ToolDefinition(
|
||||
name="FindEvents",
|
||||
description="Find upcoming events to travel to a given city (e.g., 'Melbourne') and a date or month. "
|
||||
"It knows about events in Oceania only (e.g. major Australian and New Zealand cities).",
|
||||
"It knows about events in Oceania only (e.g. major Australian and New Zealand cities). "
|
||||
"It will search 1 month either side of the month provided. "
|
||||
"Returns a list of events. ",
|
||||
arguments=[
|
||||
ToolArgument(
|
||||
name="city",
|
||||
type="string",
|
||||
description="Which city to search for events",
|
||||
description="Which city to search for events",
|
||||
),
|
||||
ToolArgument(
|
||||
name="month",
|
||||
type="string",
|
||||
description="The month or approximate date range to find events",
|
||||
description="The month to search for events (will search 1 month either side of the month provided)",
|
||||
),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user