AgentBuilder.WithRetrieval(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.
Enable the retrieval tool with this agent.
public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder WithRetrieval (params string[] fileIds);
member this.WithRetrieval : string[] -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function WithRetrieval (ParamArray fileIds As String()) As AgentBuilder
Parameters
- fileIds
- String[]
Optional set of uploaded file identifiers.
Returns
AgentBuilder instance for fluid expression.