Agent.GetChannelKeys 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.
Set of keys to establish channel affinity. Minimum expected key-set: yield return typeof(YourAgentChannel).FullName;
protected internal abstract System.Collections.Generic.IEnumerable<string> GetChannelKeys ();
abstract member GetChannelKeys : unit -> seq<string>
Protected Friend MustOverride Function GetChannelKeys () As IEnumerable(Of String)
Returns
Remarks
Two specific agents of the same type may each require their own channel. This is why the channel type alone is insufficient. For example, two OpenAI Assistant agents each targeting a different Azure OpenAI endpoint would require their own channel. In this case, the endpoint could be expressed as an additional key.