ProjectsAgentsModelFactory.EvaluationModelConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the model that plays the simulated user. This model is separate from the evaluated target.
public static Azure.AI.Projects.Agents.EvaluationModelConfiguration EvaluationModelConfiguration(string model = default, Azure.AI.Projects.Agents.ModelSamplingParams samplingParams = default, Azure.AI.Projects.Agents.EvaluationVoiceModelConfiguration voiceModel = default);
static member EvaluationModelConfiguration : string * Azure.AI.Projects.Agents.ModelSamplingParams * Azure.AI.Projects.Agents.EvaluationVoiceModelConfiguration -> Azure.AI.Projects.Agents.EvaluationModelConfiguration
Public Shared Function EvaluationModelConfiguration (Optional model As String = Nothing, Optional samplingParams As ModelSamplingParams = Nothing, Optional voiceModel As EvaluationVoiceModelConfiguration = Nothing) As EvaluationModelConfiguration
Parameters
- model
- String
Model deployment that generates simulated user turns, in the format {connectionName}/modelDeploymentName.
- samplingParams
- ModelSamplingParams
Sampling parameters applied when the simulation model produces user turns.
- voiceModel
- EvaluationVoiceModelConfiguration
Voice configuration used to convert simulated user text to speech. Currently, only Azure standard voices are supported. Omit for text-only simulation.
Returns
A new EvaluationModelConfiguration instance for mocking.