operations Package

Classes

AgentsOperations

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AIProjectClient's

<xref:agents> attribute.

AsyncBetaRealtime

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.aio import AIProjectClient
   from azure.identity.aio import DefaultAzureCredential

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

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:


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

Async context manager that opens an AsyncBetaRealtimeConnection.

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

BetaAgentInsightMonitorsOperations

Custom async operations for beta Agent Insights monitors.

BetaAgentsOperations

Custom async operations for beta agent optimization jobs.

BetaDatasetsOperations

Custom async 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 async 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.

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.