Compartir a través de


AgentBuilder.WithMetadata Method

Definition

Overloads

WithMetadata(IDictionary<String,Object>)

Define the agent metadata (optional).

WithMetadata(String, Object)

Define the agent metadata (optional).

WithMetadata(IDictionary<String,Object>)

Define the agent metadata (optional).

public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder WithMetadata (System.Collections.Generic.IDictionary<string,object> metadata);
member this.WithMetadata : System.Collections.Generic.IDictionary<string, obj> -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function WithMetadata (metadata As IDictionary(Of String, Object)) As AgentBuilder

Parameters

Returns

AgentBuilder instance for fluid expression.

Applies to

WithMetadata(String, Object)

Define the agent metadata (optional).

public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder WithMetadata (string key, object value);
member this.WithMetadata : string * obj -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function WithMetadata (key As String, value As Object) As AgentBuilder

Parameters

key
String
value
Object

Returns

AgentBuilder instance for fluid expression.

Applies to