operations Package

Classes

AgentsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:agents> attribute.

BetaAgentInsightMonitorsOperations

Custom operations for beta Agent Insights monitors.

BetaAgentsOperations

Custom operations for beta agent optimization jobs.

BetaDatasetsOperations

Custom operations for beta data generation jobs.

BetaEvaluationTaxonomiesOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:evaluation_taxonomies> attribute.

BetaEvaluatorsOperations

Custom operations for beta evaluator generation jobs.

BetaInsightsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:insights> attribute.

BetaMemoryStoresOperations
BetaModelsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

models attribute.

BetaOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:beta> attribute.

BetaRealtime

BetaRealtime streaming entry point, exposed as client.beta.voice_agents.realtime.

Follows the OpenAI Python realtime surface: obtain it from the HTTP client and open a connection with connect:


   from azure.ai.projects import AIProjectClient
   from azure.identity import DefaultAzureCredential

   client = AIProjectClient(endpoint, DefaultAzureCredential())
   with client.beta.voice_agents.realtime.connect(agent_name="my-agent") as conn:
       conn.input_audio_buffer.append(audio=chunk)
       conn.input_audio_buffer.commit()
       conn.response.create()
       for event in conn:
           if event.type == RealtimeServerEventType.RESPONSE_DONE:
               break
BetaRealtimeConnection

An open realtime WebSocket connection to a voice agent.

Iterate over the connection to receive strongly-typed server events, and use the sub-namespaces to send strongly-typed client events:


   with client.beta.voice_agents.realtime.connect(agent_name="my-agent") as conn:
       for event in conn:
           if event.type == RealtimeServerEventType.RESPONSE_DONE:
               break
BetaRealtimeConnectionManager

Context manager that opens a BetaRealtimeConnection.

Returned by connect; you normally use it as with client.beta.voice_agents.realtime.connect(...) as conn:.

BetaRedTeamsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:red_teams> attribute.

BetaRoutinesOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:routines> attribute.

BetaSchedulesOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:schedules> attribute.

BetaSkillsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:skills> attribute.

BetaVoiceAgentsConversationsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:conversations> attribute.

BetaVoiceAgentsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's <xref:beta> attribute's

voice_agents attribute.

BetaVoiceAgentsTelephonyOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:telephony> attribute.

ConnectionsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:connections> attribute.

DatasetsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:datasets> attribute.

DeploymentsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:deployments> attribute.

EvaluationRulesOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:evaluation_rules> attribute.

IndexesOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:indexes> attribute.

TelemetryOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:telemetry> attribute.

ToolboxesOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:toolboxes> attribute.