VideoReference
Namespace: Vercel.AI.Operations
public sealed class VideoReferenceReference media, either raw content or an object with a media type.
Inheritance: object
Constructors
Section titled “Constructors”VideoReference(object?)
Section titled “VideoReference(object?)”public VideoReference(object? data)Creates a raw reference.
Parameters
| Name | Type | Description |
|---|---|---|
data |
object |
VideoReference(object?, string?)
Section titled “VideoReference(object?, string?)”public VideoReference(object? data, string? mediaType)Creates an object-form reference.
Parameters
| Name | Type | Description |
|---|---|---|
data |
object | |
mediaType |
string |
Properties
Section titled “Properties”public object? Data { get; }Reference content.
Value: object
HasMediaType
Section titled “HasMediaType”public bool HasMediaType { get; }True when the object form was used.
Value: bool
MediaType
Section titled “MediaType”public string? MediaType { get; }Explicit media type.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product