AgentBuilder.WithMetadata 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.
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
- metadata
- IDictionary<String,Object>
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.