DownloadRequestItem
Namespace: Vercel.AI.Util
public sealed class DownloadRequestItemOne URL passed to DefaultDownloadFunction.
Inheritance: object
Constructors
Section titled “Constructors”DownloadRequestItem(Uri, bool)
Section titled “DownloadRequestItem(Uri, bool)”public DownloadRequestItem(Uri url, bool isUrlSupportedByModel)Creates a request item.
Parameters
| Name | Type | Description |
|---|---|---|
url |
Uri | |
isUrlSupportedByModel |
bool |
Properties
Section titled “Properties”IsUrlSupportedByModel
Section titled “IsUrlSupportedByModel”public bool IsUrlSupportedByModel { get; }When true, the model accepts the URL and the download function returns null.
Value: bool
public Uri Url { get; }URL to download or pass through.
Value: Uri
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product