nemo_voice_agent.evaluation.tools.rtvi_control
nemo_voice_agent.evaluation.tools.rtvi_control
Module Contents
Classes
Data
API
Bases: SendRTVIMessageTool
Send an “Exit” message to indicate that the scenario is finished.
Send the “Exit” message once the function-call result is delivered.
Order matters: ack the function call FIRST so pipecat dispatches
FunctionCallResultFrame and the assistant aggregator commits
both the assistant message (with tool_calls) and the tool reply
before the bridge sees <exit>. If send_exit_message ran
first, the bridge would race the commit cycle, snapshot the
context mid-flight, and the captured llm_context.json would be
missing the EndConversationTool entry. That ordering is why this
lives in the post-delivery hook rather than in _execute.
Acknowledge the exit request. The “Exit” message itself is emitted from
_after_result, i.e. after the result has been delivered.
Parameters:
Any extra LLM-supplied arguments, ignored (this tool takes none).
Returns: Any
The tool result delivered by StandardSchemaTool.__call__.
Send an “Exit” message.
Parameters:
The message to be sent.
Bases: StandardSchemaTool
Send a scenario finished message to the evaluator.
Return the properties for the tool.
Return the required properties for the tool.
Send a message.
Parameters:
The message to be sent.
Any extra LLM-supplied arguments, ignored.
Returns: Any
The tool result delivered by StandardSchemaTool.__call__.
Send a message.
Parameters:
The message to be sent.
Bases: SendRTVIMessageTool
Send a “Scnario Summary” message after the user has no more requests and the agent has answered all the user’s questions The input message should contain all required information in the required format.
Send a “Scnario Summary” message to the client, which should contain all required information for the evaluation.
Parameters:
The summary message to be sent.
Any extra LLM-supplied arguments, ignored.
Returns: Any
The tool result delivered by StandardSchemaTool.__call__.
Send a “Scnario Summary” message.
Parameters:
The message to be sent.