nemo_voice_agent.utils.tool_calling

View as Markdown

Submodules

Package Contents

Functions

NameDescription
get_standard_schema_toolGet a schema tool for evaluation by name.
list_standard_schema_toolsList all schema tools for evaluation.
register_standard_schema_toolClass decorator that registers a tool class into ALL_STANDARD_SCHEMA_TOOLS.

Data

ALL_STANDARD_SCHEMA_TOOLS

__all__

API

nemo_voice_agent.utils.tool_calling.get_standard_schema_tool(
name: str,
kwargs = {}
) -> nemo_voice_agent.utils.tool_calling.base.StandardSchemaTool

Get a schema tool for evaluation by name.

nemo_voice_agent.utils.tool_calling.list_standard_schema_tools() -> typing.List[nemo_voice_agent.utils.tool_calling.base.StandardSchemaTool]

List all schema tools for evaluation.

nemo_voice_agent.utils.tool_calling.register_standard_schema_tool(
cls
)

Class decorator that registers a tool class into ALL_STANDARD_SCHEMA_TOOLS.

The tool is keyed by cls.name if it exists, otherwise cls.name.

nemo_voice_agent.utils.tool_calling.ALL_STANDARD_SCHEMA_TOOLS = {}
nemo_voice_agent.utils.tool_calling.__all__ = ['StandardSchemaTool', 'register_schema_tools_to_llm', 'ALL_STANDARD_SCHEMA_TOOL...