AgentReference.Implicit(String to AgentReference) Operator

Definition

Converts a string assistant or agent identifier into an AgentReference.

public static implicit operator Azure.AI.Extensions.OpenAI.AgentReference(string agentName);
static member op_Implicit : string -> Azure.AI.Extensions.OpenAI.AgentReference
Public Shared Widening Operator CType (agentName As String) As AgentReference

Parameters

agentName
String

The assistant or agent identifier.

Returns

The agent reference created from the supplied identifier.

Applies to