Skip to content

VideoReference

Namespace: Vercel.AI.Operations

public sealed class VideoReference

Reference media, either raw content or an object with a media type.

Inheritance: object

View source

public VideoReference(object? data)

Creates a raw reference.

Parameters

Name Type Description
data object

View source

public VideoReference(object? data, string? mediaType)

Creates an object-form reference.

Parameters

Name Type Description
data object
mediaType string

View source

public object? Data { get; }

Reference content.

Value: object

View source

public bool HasMediaType { get; }

True when the object form was used.

Value: bool

View source

public string? MediaType { get; }

Explicit media type.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product