Returns
It returns a result object from the Conversation Simulator containing the complete conversation history, status, and metadata. This is used to analyze how your agent performed in the test scenario. In order to run the simulation you need to use Galtea’s Agent. This agent manages your conversations with our simulation service so you don’t have to worry about it.Example
Parameters
The session identifier for this simulation.
Your implementation of the Agent class, containing your conversational logic.
Maximum number of conversation turns. Defaults to the Test Case’s max turns if not provided.
Whether to log inference results to the platform. Default: True
Whether to call your agent one final time after the simulated user sends their last message. Default: True.
When enabled, your agent will have the opportunity to respond to the conversation’s final user message, ensuring complete dialogue coverage for evaluation purposes.
Whether to include metadata in the simulation result. Default: False
If True, the agent will generate the first message before any user messages are generated. Default: False
When
agent_goes_first
is set to True
, the first call to your agent will have an empty messages
list in the AgentInput
. Ensure your agent’s call
method can handle cases where input_data.last_user_message_str()
returns None
.