UploadData
Namespace: Vercel.AI.Operations
public sealed class UploadDataTagged file bytes, text, or a stream.
Inheritance: object
Constructors
Section titled “Constructors”UploadData(string, object?)
Section titled “UploadData(string, object?)”public UploadData(string type, object? data)Creates tagged upload data.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
data |
object |
Properties
Section titled “Properties”public object? Data { get; }Bytes, base64 text, or a UploadStream.
Value: object
public string Type { get; }data, text, or stream.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product