improved performance with openai but not perfect

This commit is contained in:
Steve Androulakis
2025-02-13 08:53:28 -08:00
parent a8c62134fd
commit 0bc4a0e0aa
4 changed files with 30 additions and 19 deletions

View File

@@ -29,17 +29,17 @@ search_flights_tool = ToolDefinition(
search_trains_tool = ToolDefinition(
name="SearchTrains",
description="Search for trains between two stations. Returns a list of trains.",
description="Search for trains between two English cities. Returns a list of train information for the user to choose from.",
arguments=[
ToolArgument(
name="origin",
type="string",
description="The station to depart from",
description="The city or place to depart from",
),
ToolArgument(
name="destination",
type="string",
description="The station to arrive at",
description="The city or place to arrive at",
),
ToolArgument(
name="outbound_time",