Skip to content

SkillFile

Namespace: Vercel.AI.Operations

public sealed class SkillFile

One file inside a skill upload.

Inheritance: object

View source

public SkillFile(string? path, object? data, string? mediaType = null)

Creates a skill file.

Parameters

Name Type Description
path string
data object
mediaType string

View source

public object? Data { get; }

Tagged data or a bytes/string shorthand.

Value: object

View source

public string? MediaType { get; }

Optional media type.

Value: string

View source

public string? Path { get; }

Path inside the skill.

Value: string

View source

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