Zu Hauptinhalt wechseln

Dieser Browser wird nicht mehr unterstützt.

Führen Sie ein Upgrade auf Microsoft Edge durch, um die neuesten Features, Sicherheitsupdates und den technischen Support zu nutzen.

Microsoft Edge herunterladen Weitere Informationen zu Internet Explorer und Microsoft Edge
microsoft-foundry.rest.security.o-auth2-auth

Evaluation Rules

Get an evaluation rule

GET /evaluationrules/{id}

Retrieves the specified evaluation rule and its configuration.

Abfrageparameter

api-version string Erforderlich

The API version to use for this operation.

Pfadparameter

id string Erforderlich

Unique identifier for the evaluation rule.

Antworten

The request has succeeded.

Text

Content-Type: application/json
id string Erforderlich

Unique identifier for the evaluation rule.

displayName string

Display Name for the evaluation rule.

description string

Description for the evaluation rule.

action continuousEvaluation | traceEvaluation | datasetEvaluation | humanEvaluationPreview Erforderlich

Evaluation action model.

Eins der folgenden:
continuousEvaluation ContinuousEvaluationRuleAction

Evaluation rule action for continuous evaluation.

type enum Erforderlich
continuousEvaluation
evalId string Erforderlich

Eval Id to add continuous evaluation runs to.

maxHourlyRuns integer

Maximum number of evaluation runs allowed per hour.

samplingRate number

Percentage (0-100] chance that a matching event triggers an evaluation. When omitted, the service-default is to evaluate every event, which is equivalent to setting a sampling rate of 100.

traceEvaluation TraceEvaluationRuleAction

Configures a scheduled evaluation of observed agent traces.

type enum Erforderlich
traceEvaluation
evalId string Erforderlich

Identifier of the evaluation used to score the selected traces.

source TracesEvalRunDataSource | TraceSourceEvalRunDataSource | TracesPreviewEvalRunDataSource | TraceSourcePreviewEvalRunDataSource Erforderlich

Existing trace-evaluation inputs supported by scheduled rules.

Eines der folgenden Elemente:
type enum Erforderlich

The type of data source, always azure_ai_traces.

azure_ai_traces
trace_ids string[]

Collection of Agent trace identifiers that should be evaluated.

conversation_ids string[]

Collection of conversation identifiers to filter traces by conversation.

agent_id string

The agent ID used to filter traces for evaluation.

agent_name string

The agent name used to filter traces for evaluation.

lookback_hours integer

Lookback window (in hours) applied when retrieving traces from Application Insights. For scheduled evaluations this is inferred from the recurrence interval.

end_time integer
max_traces integer

Sampling limit applied to traces retrieved for evaluation.

ingestion_delay_seconds integer

The delay to apply for ingestion when querying traces.

type enum Erforderlich

The type of data source, always azure_ai_trace_data_source.

azure_ai_trace_data_source
trace_source trace_id_source | conversation_id_source | agent_filter

Base class for polymorphic trace sources nested within a TraceSourceEvalRunDataSource.

Eins der folgenden:
trace_id_source TraceIdTraceSource

A trace source that selects traces by explicit trace IDs.

type enum Erforderlich

The type of trace source, always trace_id_source.

trace_id_source
trace_ids string[] Erforderlich

Collection of trace identifiers to evaluate.

conversation_id_source ConversationIdTraceSource

A trace source that selects traces by conversation IDs.

type enum Erforderlich

The type of trace source, always conversation_id_source.

conversation_id_source
conversation_ids string[] Erforderlich

Collection of conversation identifiers to filter traces by.

agent_filter AgentFilterTraceSource

A trace source that selects traces by agent reference with time-based filtering.

type enum Erforderlich

The type of trace source, always agent_filter.

agent_filter
agent_id string

The identifier of the agent to filter traces by.

agent_name string

The name of the agent to filter traces by.

agent_version string

The version of the agent to filter traces by.

start_time integer
end_time integer
max_traces integer

Maximum number of traces to sample. Must be greater than 0.

filter_strategy string | enum

Specifies the type of filter strategy used to select traces for evaluation.

Eines der folgenden Elemente:
string
enum
random_samplingsmart_filtering
type enum Erforderlich

The type of data source, always azure_ai_traces_preview.

azure_ai_traces_preview
trace_ids string[]

Collection of Agent trace identifiers that should be evaluated.

conversation_ids string[]

Collection of conversation identifiers to filter traces by conversation.

agent_id string

The agent ID used to filter traces for evaluation.

agent_name string

The agent name used to filter traces for evaluation.

lookback_hours integer

Lookback window (in hours) applied when retrieving traces from Application Insights. For scheduled evaluations this is inferred from the recurrence interval.

end_time integer
max_traces integer

Sampling limit applied to traces retrieved for evaluation.

ingestion_delay_seconds integer

The delay to apply for ingestion when querying traces.

type enum Erforderlich

The type of data source, always azure_ai_trace_data_source_preview.

azure_ai_trace_data_source_preview
trace_source trace_id_source | conversation_id_source | agent_filter

Base class for polymorphic trace sources nested within a TraceSourceEvalRunDataSource.

Eins der folgenden:
trace_id_source TraceIdTraceSource

A trace source that selects traces by explicit trace IDs.

type enum Erforderlich

The type of trace source, always trace_id_source.

trace_id_source
trace_ids string[] Erforderlich

Collection of trace identifiers to evaluate.

conversation_id_source ConversationIdTraceSource

A trace source that selects traces by conversation IDs.

type enum Erforderlich

The type of trace source, always conversation_id_source.

conversation_id_source
conversation_ids string[] Erforderlich

Collection of conversation identifiers to filter traces by.

agent_filter AgentFilterTraceSource

A trace source that selects traces by agent reference with time-based filtering.

type enum Erforderlich

The type of trace source, always agent_filter.

agent_filter
agent_id string

The identifier of the agent to filter traces by.

agent_name string

The name of the agent to filter traces by.

agent_version string

The version of the agent to filter traces by.

start_time integer
end_time integer
max_traces integer

Maximum number of traces to sample. Must be greater than 0.

filter_strategy string | enum

Specifies the type of filter strategy used to select traces for evaluation.

Eines der folgenden Elemente:
string
enum
random_samplingsmart_filtering
evaluation_level enum | string

The level at which evaluation is performed.

Eines der folgenden Elemente:
enum
turnconversation
string
datasetEvaluation DatasetEvaluationRuleAction

Configures a scheduled evaluation of dataset inputs.

type enum Erforderlich
datasetEvaluation
evalId string Erforderlich

Identifier of the evaluation used to score the dataset.

source OpenAI.CreateEvalJsonlRunDataSource | CsvEvalRunDataSource | OpenAI.CreateEvalCompletionsRunDataSource | TargetCompletionEvalRunDataSource | UserConversationSimulationEvalRunDataSource | UserConversationSimulationPreviewEvalRunDataSource Erforderlich

Dataset inputs supported by scheduled rules. Targets are configured within the selected source.

Eines der folgenden Elemente:
type enum Erforderlich

The type of data source. Always jsonl.

jsonl
source OpenAI.EvalJsonlFileContentSource | OpenAI.EvalJsonlFileIdSource Erforderlich

Determines what populates the item namespace in the data source.

Eins der folgenden:
type enum Erforderlich

The type of jsonl source. Always file_content.

file_content
content OpenAI.EvalJsonlFileContentSourceContent[] Erforderlich

The content of the jsonl file.

type enum Erforderlich

The type of jsonl source. Always file_id.

file_id
id string Erforderlich

The identifier of the file.

type enum Erforderlich

The type of data source, always csv.

csv
source EvalCsvFileIdSource Erforderlich

Represents a reference to an uploaded CSV file used as a source for evaluation data.

type enum Erforderlich

The type of source, always file_id.

file_id
id string Erforderlich

The identifier of the uploaded CSV file.

type enum Erforderlich

The type of run data source. Always completions.

completions
input_messages OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesTemplate | OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesItemReference

Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, item.input_trajectory), or a template with variable references to the item namespace.

Eins der folgenden:
type enum Erforderlich
template
template (OpenAI.EasyInputMessage | OpenAI.EvalItem)[] Erforderlich
type enum Erforderlich
item_reference
item_reference string Erforderlich
sampling_params OpenAI.CreateEvalCompletionsRunDataSourceSamplingParams
reasoning_effort string | enum | null

Constrains effort on reasoning for reasoning models. Currently supported values are none, minimal, low, medium, high, xhigh, and max. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response. Not all reasoning models support every value. See the reasoning guide for model-specific support.

Eines der folgenden Elemente:
string
enum
noneminimallowmediumhighxhighmax
temperature number
max_completion_tokens integer
top_p number
seed integer
response_format OpenAI.ResponseFormatText | OpenAI.ResponseFormatJsonSchema | OpenAI.ResponseFormatJsonObject
Eins der folgenden:
type enum Erforderlich

The type of response format being defined. Always text.

text
type enum Erforderlich

The type of response format being defined. Always json_schema.

json_schema
json_schema OpenAI.ResponseFormatJsonSchemaJsonSchema Erforderlich
description string
name string Erforderlich
schema OpenAI.ResponseFormatJsonSchemaSchema

The schema for the response format, described as a JSON Schema object. Learn how to build JSON schemas here.

strict boolean | null
type enum Erforderlich

The type of response format being defined. Always json_object.

json_object
tools OpenAI.ChatCompletionTool[]
model string

The name of the model to use for generating completions (e.g. "o3-mini").

source OpenAI.EvalJsonlFileContentSource | OpenAI.EvalJsonlFileIdSource | OpenAI.EvalStoredCompletionsSource Erforderlich

Determines what populates the item namespace in this run's data source.

Eins der folgenden:
type enum Erforderlich

The type of jsonl source. Always file_content.

file_content
content OpenAI.EvalJsonlFileContentSourceContent[] Erforderlich

The content of the jsonl file.

type enum Erforderlich

The type of jsonl source. Always file_id.

file_id
id string Erforderlich

The identifier of the file.

type enum Erforderlich

The type of source. Always stored_completions.

stored_completions
metadata OpenAI.Metadata | null

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

[key: string] string
model string | null
created_after integer | null
created_before integer | null
limit integer | null
type enum Erforderlich

The type of data source, always azure_ai_target_completions.

azure_ai_target_completions
input_messages OpenAI.CreateEvalCompletionsRunDataSourceInputMessagesItemReference
type enum Erforderlich
item_reference
item_reference string Erforderlich
source OpenAI.EvalJsonlFileContentSource | OpenAI.EvalJsonlFileIdSource Erforderlich

The source configuration for inline or file data.

Eines der folgenden Elemente:
type enum Erforderlich

The type of jsonl source. Always file_content.

file_content
content OpenAI.EvalJsonlFileContentSourceContent[] Erforderlich

The content of the jsonl file.

type enum Erforderlich

The type of jsonl source. Always file_id.

file_id
id string Erforderlich

The identifier of the file.

target azure_ai_model | azure_ai_agent Erforderlich

Base class for targets with discriminator support.

Eins der folgenden:
azure_ai_model AzureAIModelTarget

A target that identifies an Azure AI model. See evaluate administrator-connected models.

type enum Erforderlich

The type of target, always azure_ai_model.

azure_ai_model
model string

The name of the model deployment to invoke as the evaluation target.

sampling_params ModelSamplingParams

Represents a set of parameters used to control the sampling behavior of a language model during text generation.

temperature number

The temperature parameter for sampling. Defaults to 1.0.

top_p number

The top-p parameter for nucleus sampling. Defaults to 1.0.

seed integer

The random seed for reproducibility. Defaults to 42.

max_completion_tokens integer

The maximum number of tokens allowed in the completion.

azure_ai_agent AzureAIAgentTarget

A target that identifies an Azure AI agent. See evaluate model or agent targets.

type enum Erforderlich

The type of target, always azure_ai_agent.

azure_ai_agent
name string Erforderlich

The name of the Azure AI agent to invoke as the evaluation target.

version string

The version of the Azure AI agent. When omitted, the latest version is used.

tool_descriptions ToolDescription[]

Optional descriptions of tools available to the agent.

tools OpenAI.Tool[]

Tool definitions made available when invoking the agent.

item_generation_params red_team | red_team_seed_prompts | red_team_taxonomy | response_retrieval | target_completion | synthetic_data_gen

Configures how the service prepares input items for an evaluation run before applying testing criteria. Depending on type, preparation can generate new inputs, retrieve existing responses, transform source data, or simulate conversations. Each type selects a workflow-specific model with the parameters required by that preparation workflow. These parameters do not define the evaluated target or the testing criteria.

Eins der folgenden:
red_team RedTeamItemGenerationParams

Represents the parameters for red team item generation.

type enum Erforderlich

The type of item generation parameters.

red_team
attack_strategies AttackStrategy[] Erforderlich

The collection of attack strategies to be used.

num_turns integer Erforderlich

The number of turns allowed in the game.

red_team_seed_prompts RedTeamSeedPromptsItemGenerationParams

Represents the parameters for red team seed prompts item generation.

type enum Erforderlich

The type of item generation parameters, always red_team_seed_prompts.

red_team_seed_prompts
attack_strategies AttackStrategy[] Erforderlich

The collection of attack strategies to be used.

num_turns integer Erforderlich

The number of turns allowed in the game.

source OpenAI.EvalJsonlFileContentSource Erforderlich
type enum Erforderlich

The type of jsonl source. Always file_content.

file_content
content OpenAI.EvalJsonlFileContentSourceContent[] Erforderlich

The content of the jsonl file.

red_team_taxonomy RedTeamTaxonomyItemGenerationParams

Represents the parameters for red team taxonomy item generation.

type enum Erforderlich

The type of item generation parameters, always red_team_taxonomy.

red_team_taxonomy
attack_strategies AttackStrategy[] Erforderlich

The collection of attack strategies to be used.

num_turns integer Erforderlich

The number of turns allowed in the game.

source OpenAI.EvalJsonlFileContentSource Erforderlich
type enum Erforderlich

The type of jsonl source. Always file_content.

file_content
content OpenAI.EvalJsonlFileContentSourceContent[] Erforderlich

The content of the jsonl file.

response_retrieval ResponseRetrievalItemGenerationParams

Parameters for retrieving deployed conversations for evaluation. See evaluate deployed conversations.

type enum Erforderlich

The type of item generation parameters, always response_retrieval.

response_retrieval
max_num_turns integer Erforderlich

The maximum number of turns of chat history to evaluate.

data_mapping object Erforderlich

Maps response_id to the source field that contains a stored Responses API response identifier. For example, {"response_id": "{{item.resp_id}}"}. Field names are case-sensitive.

[key: string] string
source OpenAI.EvalJsonlFileContentSource | OpenAI.EvalJsonlFileIdSource Erforderlich

The inline JSONL content containing the response identifiers to retrieve. The azure_ai_responses data source supports file_content only; providing a file_id results in a 400 Bad Request response.

Eines der folgenden Elemente:
type enum Erforderlich

The type of jsonl source. Always file_content.

file_content
content OpenAI.EvalJsonlFileContentSourceContent[] Erforderlich

The content of the jsonl file.

type enum Erforderlich

The type of jsonl source. Always file_id.

file_id
id string Erforderlich

The identifier of the file.

target_completion TargetCompletionItemGenerationParams

Parameters for generating target completions for simulated conversations. See simulate conversations.

type enum Erforderlich

The type of item generation parameters, always target_completion.

target_completion
max_concurrency integer

The maximum number of target completions to execute concurrently. The services defaults to 1 if a value is not specified by the caller, which invokes the target sequentially.

synthetic_data_gen SyntheticDataGenerationItemGenerationParams

Represents the parameters for synthetic data generation item generation.

type enum Erforderlich

The type of item generation parameters.

synthetic_data_gen
samples_count integer Erforderlich

The maximum number of data samples to generate.

prompt string

The prompt used to generate synthetic data. This property is optional when the target is an agent that already has instructions.

model_deployment_name string Erforderlich

The name of the model deployment to use for generating synthetic data.

output_dataset_name string

The name of the output dataset where generated synthetic data will be stored. If not provided, service generates dataset name automatically.

output_dataset_id string

The identifier of the output dataset where generated synthetic data is stored. The generated data is a jsonl file with columns id, query and test_description.

sources OpenAI.EvalJsonlFileIdSource[] Erforderlich

The optional seed data content source files for data generation.

type enum Erforderlich

The type of data source, always azure_ai_user_conversation_simulation.

azure_ai_user_conversation_simulation
source OpenAI.EvalJsonlFileContentSource | OpenAI.EvalJsonlFileIdSource | UserConversationSimulationInlineTestCasesSource Erforderlich

Sources supported by user conversation simulation.

Eines der folgenden Elemente:
type enum Erforderlich

The type of jsonl source. Always file_content.

file_content
content OpenAI.EvalJsonlFileContentSourceContent[] Erforderlich

The content of the jsonl file.

type enum Erforderlich

The type of jsonl source. Always file_id.

file_id
id string Erforderlich

The identifier of the file.

type enum Erforderlich

The source type. Always inline_user_conversation_simulation.

inline_user_conversation_simulation
test_cases UserConversationSimulationTestCase[] Erforderlich

Test scenarios from which user conversations are simulated. At least one test case is required.

target azure_ai_model | azure_ai_agent Erforderlich

Base class for targets with discriminator support.

Eins der folgenden:
azure_ai_model AzureAIModelTarget

A target that identifies an Azure AI model. See evaluate administrator-connected models.

type enum Erforderlich

The type of target, always azure_ai_model.

azure_ai_model
model string

The name of the model deployment to invoke as the evaluation target.

sampling_params ModelSamplingParams

Represents a set of parameters used to control the sampling behavior of a language model during text generation.

temperature number

The temperature parameter for sampling. Defaults to 1.0.

top_p number

The top-p parameter for nucleus sampling. Defaults to 1.0.

seed integer

The random seed for reproducibility. Defaults to 42.

max_completion_tokens integer

The maximum number of tokens allowed in the completion.

azure_ai_agent AzureAIAgentTarget

A target that identifies an Azure AI agent. See evaluate model or agent targets.

type enum Erforderlich

The type of target, always azure_ai_agent.

azure_ai_agent
name string Erforderlich

The name of the Azure AI agent to invoke as the evaluation target.

version string

The version of the Azure AI agent. When omitted, the latest version is used.

tool_descriptions ToolDescription[]

Optional descriptions of tools available to the agent.

tools OpenAI.Tool[]

Tool definitions made available when invoking the agent.

model_configuration EvaluationModelConfiguration Erforderlich

Configures the model that plays the simulated user. This model is separate from the evaluated target.

model string Erforderlich

Model deployment that generates simulated user turns, in the format {connectionName}/modelDeploymentName.

sampling_params ModelSamplingParams

Represents a set of parameters used to control the sampling behavior of a language model during text generation.

temperature number

The temperature parameter for sampling. Defaults to 1.0.

top_p number

The top-p parameter for nucleus sampling. Defaults to 1.0.

seed integer

The random seed for reproducibility. Defaults to 42.

max_completion_tokens integer

The maximum number of tokens allowed in the completion.

voice_model azure-standard

Voice configuration used to convert text to speech for evaluation through the Voice Live endpoint.

Eins der folgenden:
azure-standard EvaluationAzureStandardVoiceModelConfiguration

Configures an Azure standard neural voice used to convert text to speech for evaluation through the Voice Live endpoint.

type enum Erforderlich

The voice kind. Always azure-standard.

azure-standard
name string Erforderlich

The Azure neural voice name.

temperature number

The synthesis temperature, from 0 to 1. When omitted, the service defaults to the underlying voice model's default temperature.

default_simulation_configuration UserConversationSimulationDefaultConfiguration

Configures default conversation behavior and optional run-wide persistence of generated conversations.

max_num_turns integer

Hard limit on turns in each conversation. When omitted, the service defaults to 20.

conversation_repetitions integer

Number of independent conversation repetitions for each test case. Defaults to 1 when not specified at either the data-source or test-case level.

desired_num_turns integer

Target number of turns in each conversation. The effective value cannot exceed the effective max_num_turns. When omitted, no target is set and the simulation model determines the conversation length dynamically from the scenario.

audio_effects UserConversationSimulationAudioEffectsConfiguration

Configures effects applied to simulated conversation audio.

effects UserConversationSimulationAudioEffect[]

Effects to apply to simulated audio.

volume_percentage integer

Volume of the configured audio effects, as a percentage from 1 through 100. When omitted, the service defaults to 15.

user_behavior UserConversationSimulationUserBehaviorConfiguration

Configures conversation behavior for the simulated user.

interruption default

Configuration for simulated user interruption behavior.

Eins der folgenden:
default UserConversationSimulationDefaultInterruptionConfiguration

Configures the default interruption behavior for the simulated user.

type enum Erforderlich

The interruption type, always default.

default
enable_conversation_dataset_generation boolean

Whether to write all generated conversations to a versioned Foundry dataset. When enabled, the completed run includes a simulated_user_conversations entry in output_datasets. When omitted, the service defaults to false.

output_conversation_dataset_name string

Name of the dataset to which generated conversations are written. This property is used only when enable_conversation_dataset_generation is true. When omitted, the service generates a dataset name.

data_mapping object

Maps JSONL dataset attributes to user conversation simulation inputs when their names differ from the defaults. The default attribute names are test_case_id, test_case_category, test_case_description, and simulation_configuration, matching UserConversationSimulationTestCase. Omit when the dataset uses these names or when using inline_user_conversation_simulation.

[key: string] string
type enum Erforderlich

The type of data source, always azure_ai_user_conversation_simulation_preview.

azure_ai_user_conversation_simulation_preview
source OpenAI.EvalJsonlFileContentSource | OpenAI.EvalJsonlFileIdSource | UserConversationSimulationInlineTestCasesSource Erforderlich

Sources supported by user conversation simulation.

Eines der folgenden Elemente:
type enum Erforderlich

The type of jsonl source. Always file_content.

file_content
content OpenAI.EvalJsonlFileContentSourceContent[] Erforderlich

The content of the jsonl file.

type enum Erforderlich

The type of jsonl source. Always file_id.

file_id
id string Erforderlich

The identifier of the file.

type enum Erforderlich

The source type. Always inline_user_conversation_simulation.

inline_user_conversation_simulation
test_cases UserConversationSimulationTestCase[] Erforderlich

Test scenarios from which user conversations are simulated. At least one test case is required.

target azure_ai_model | azure_ai_agent Erforderlich

Base class for targets with discriminator support.

Eins der folgenden:
azure_ai_model AzureAIModelTarget

A target that identifies an Azure AI model. See evaluate administrator-connected models.

type enum Erforderlich

The type of target, always azure_ai_model.

azure_ai_model
model string

The name of the model deployment to invoke as the evaluation target.

sampling_params ModelSamplingParams

Represents a set of parameters used to control the sampling behavior of a language model during text generation.

temperature number

The temperature parameter for sampling. Defaults to 1.0.

top_p number

The top-p parameter for nucleus sampling. Defaults to 1.0.

seed integer

The random seed for reproducibility. Defaults to 42.

max_completion_tokens integer

The maximum number of tokens allowed in the completion.

azure_ai_agent AzureAIAgentTarget

A target that identifies an Azure AI agent. See evaluate model or agent targets.

type enum Erforderlich

The type of target, always azure_ai_agent.

azure_ai_agent
name string Erforderlich

The name of the Azure AI agent to invoke as the evaluation target.

version string

The version of the Azure AI agent. When omitted, the latest version is used.

tool_descriptions ToolDescription[]

Optional descriptions of tools available to the agent.

tools OpenAI.Tool[]

Tool definitions made available when invoking the agent.

model_configuration EvaluationModelConfiguration Erforderlich

Configures the model that plays the simulated user. This model is separate from the evaluated target.

model string Erforderlich

Model deployment that generates simulated user turns, in the format {connectionName}/modelDeploymentName.

sampling_params ModelSamplingParams

Represents a set of parameters used to control the sampling behavior of a language model during text generation.

temperature number

The temperature parameter for sampling. Defaults to 1.0.

top_p number

The top-p parameter for nucleus sampling. Defaults to 1.0.

seed integer

The random seed for reproducibility. Defaults to 42.

max_completion_tokens integer

The maximum number of tokens allowed in the completion.

voice_model azure-standard

Voice configuration used to convert text to speech for evaluation through the Voice Live endpoint.

Eins der folgenden:
azure-standard EvaluationAzureStandardVoiceModelConfiguration

Configures an Azure standard neural voice used to convert text to speech for evaluation through the Voice Live endpoint.

type enum Erforderlich

The voice kind. Always azure-standard.

azure-standard
name string Erforderlich

The Azure neural voice name.

temperature number

The synthesis temperature, from 0 to 1. When omitted, the service defaults to the underlying voice model's default temperature.

default_simulation_configuration UserConversationSimulationDefaultConfiguration

Configures default conversation behavior and optional run-wide persistence of generated conversations.

max_num_turns integer

Hard limit on turns in each conversation. When omitted, the service defaults to 20.

conversation_repetitions integer

Number of independent conversation repetitions for each test case. Defaults to 1 when not specified at either the data-source or test-case level.

desired_num_turns integer

Target number of turns in each conversation. The effective value cannot exceed the effective max_num_turns. When omitted, no target is set and the simulation model determines the conversation length dynamically from the scenario.

audio_effects UserConversationSimulationAudioEffectsConfiguration

Configures effects applied to simulated conversation audio.

effects UserConversationSimulationAudioEffect[]

Effects to apply to simulated audio.

volume_percentage integer

Volume of the configured audio effects, as a percentage from 1 through 100. When omitted, the service defaults to 15.

user_behavior UserConversationSimulationUserBehaviorConfiguration

Configures conversation behavior for the simulated user.

interruption default

Configuration for simulated user interruption behavior.

Eins der folgenden:
default UserConversationSimulationDefaultInterruptionConfiguration

Configures the default interruption behavior for the simulated user.

type enum Erforderlich

The interruption type, always default.

default
enable_conversation_dataset_generation boolean

Whether to write all generated conversations to a versioned Foundry dataset. When enabled, the completed run includes a simulated_user_conversations entry in output_datasets. When omitted, the service defaults to false.

output_conversation_dataset_name string

Name of the dataset to which generated conversations are written. This property is used only when enable_conversation_dataset_generation is true. When omitted, the service generates a dataset name.

data_mapping object

Maps JSONL dataset attributes to user conversation simulation inputs when their names differ from the defaults. The default attribute names are test_case_id, test_case_category, test_case_description, and simulation_configuration, matching UserConversationSimulationTestCase. Omit when the dataset uses these names or when using inline_user_conversation_simulation.

[key: string] string
evaluation_level enum | string

The level at which evaluation is performed.

Eines der folgenden Elemente:
enum
turnconversation
string
humanEvaluationPreview HumanEvaluationPreviewRuleAction

Evaluation rule action for human evaluation.

type enum Erforderlich
humanEvaluationPreview
templateId string Erforderlich

Identifier of a saved asset.

filter EvaluationRuleFilter

Evaluation filter model.

agentName string Erforderlich

Filter by agent name.

eventType string | enum Erforderlich

Type of the evaluation rule event.

Eines der folgenden Elemente:
string
enum
responseCompletedmanualtimerTrigger
schedule Cron | Recurrence | OneTime

Base model for Trigger of the schedule.

Eins der folgenden:
Cron CronTrigger

Cron based trigger.

type enum Erforderlich
Cron
expression string Erforderlich

Five-field cron expression that defines the schedule frequency: minute hour day-of-month month day-of-week.

timeZone string

Time zone for the cron schedule. Defaults to UTC.

startTime string

Start time for the cron schedule in ISO 8601 format.

endTime string

End time for the cron schedule in ISO 8601 format.

Recurrence RecurrenceTrigger

Recurrence based trigger.

type enum Erforderlich

Type of the trigger.

Recurrence
startTime string

Start time for the recurrence schedule in ISO 8601 format.

endTime string

End time for the recurrence schedule in ISO 8601 format.

timeZone string

Time zone for the recurrence schedule. Defaults to UTC.

interval integer Erforderlich

Interval for the recurrence schedule.

schedule Hourly | Daily | Weekly | Monthly Erforderlich

Recurrence schedule model.

Eins der folgenden:
Hourly HourlyRecurrenceSchedule

Hourly recurrence schedule.

type enum Erforderlich
Hourly
Daily DailyRecurrenceSchedule

Daily recurrence schedule.

type enum Erforderlich

Daily recurrence type.

Daily
hours integer[]

Hours for the recurrence schedule. If omitted, the service uses the current UTC hour when the schedule is created.

Weekly WeeklyRecurrenceSchedule

Weekly recurrence schedule.

type enum Erforderlich

Weekly recurrence type.

Weekly
daysOfWeek DayOfWeek[] Erforderlich

Days of the week for the recurrence schedule.

Monthly MonthlyRecurrenceSchedule

Monthly recurrence schedule.

type enum Erforderlich

Monthly recurrence type.

Monthly
daysOfMonth integer[] Erforderlich

Days of the month for the recurrence schedule.

OneTime OneTimeTrigger

One-time trigger.

type enum Erforderlich
OneTime
triggerAt string Erforderlich

Date and time for the one-time trigger in ISO 8601 format.

timeZone string

Time zone for the one-time trigger. Defaults to UTC.

provisioningStatus string | enum

Schedule provisioning status.

Eines der folgenden Elemente:
string
enum
CreatingUpdatingDeletingSucceededFailed
error Azure.Core.Foundations.Error

The error object.

code string Erforderlich

One of a server-defined set of error codes.

message string Erforderlich

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError
enabled boolean Erforderlich

Indicates whether the evaluation rule is enabled. Default is true.

systemData object Erforderlich

System metadata for the evaluation rule.

[key: string] string

Client error

Header

x-ms-error-code string

String error code indicating what went wrong.

Text

Content-Type: application/json
error Azure.Core.Foundations.Error Erforderlich

The error object.

code string Erforderlich

One of a server-defined set of error codes.

message string Erforderlich

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

Server error

Header

x-ms-error-code string

String error code indicating what went wrong.

Text

Content-Type: application/json
error Azure.Core.Foundations.Error Erforderlich

The error object.

code string Erforderlich

One of a server-defined set of error codes.

message string Erforderlich

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

Anfordern

GET /evaluationrules/{id} HTTP/1.1

Antwort

Status: 200
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json
de-de
Ihre Datenschutzoptionen
  • KI-Haftungsausschluss
  • Frühere Versionen
  • Blog
  • Mitwirken
  • Datenschutz
  • Consumer Health Privacy
  • Nutzungsbedingungen
  • Impressum
  • Marken
  • © Microsoft 2026