AgentBuilder.WithFile(String) 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.
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.