nemo_voice_agent.utils.tool_calling.basic_tools

View as Markdown

Module Contents

Functions

NameDescription
tool_get_city_weatherGet the current weather of a city. The result includes city name, weather description,

Data

HTTP_REQUEST_TIMEOUT

API

nemo_voice_agent.utils.tool_calling.basic_tools.tool_get_city_weather(
params: pipecat.services.llm_service.FunctionCallParams,
city_name: str
)
async

Get the current weather of a city. The result includes city name, weather description, temperature, wind speed, wind direction, precipitation, humidity, visibility, and UV index.

Parameters:

city_name
str

The name of the city to get the weather of. For example, “London”, “Beijing”, “Paris”. Other examples are: “Paris, TX, US”, “Paris, FR” and “Tokyo, JP”.

nemo_voice_agent.utils.tool_calling.basic_tools.HTTP_REQUEST_TIMEOUT = 10.0