Freigeben über


AgentApplicationBuilder.WithFileDownloaders Method

Definition

Configures the processing of file download requests. This allows the application to handle file downloads from user messages. The file downloaders are used to process files that are sent by users in the chat. They can be used to download files from various sources, such as URLs or local paths.

public Microsoft.Agents.Builder.App.AgentApplicationBuilder WithFileDownloaders(System.Collections.Generic.IList<Microsoft.Agents.Builder.App.IInputFileDownloader> fileDownloaders);
member this.WithFileDownloaders : System.Collections.Generic.IList<Microsoft.Agents.Builder.App.IInputFileDownloader> -> Microsoft.Agents.Builder.App.AgentApplicationBuilder
Public Function WithFileDownloaders (fileDownloaders As IList(Of IInputFileDownloader)) As AgentApplicationBuilder

Parameters

fileDownloaders
IList<IInputFileDownloader>

A list of file downloaders.

Returns

The ApplicationBuilder instance.

Applies to