Udostępnij za pośrednictwem


AgentBuilder.WithFile(String) Method

Definition

Associate an uploaded file with the agent, by identifier.

public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder WithFile (string fileId);
member this.WithFile : string -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function WithFile (fileId As String) As AgentBuilder

Parameters

fileId
String

The uploaded file identifier.

Returns

AgentBuilder instance for fluid expression.

Applies to