AgentApplicationBuilder.WithFileDownloaders 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.
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.