Skip to content

SkillFilePayload

Namespace: Vercel.AI.Operations

public sealed class SkillFilePayload

Normalized skill file passed to the provider.

Inheritance: object

View source

SkillFilePayload(string?, UploadData, string?)

Section titled “SkillFilePayload(string?, UploadData, string?)”
public SkillFilePayload(string? path, UploadData data, string? mediaType)

Creates a payload.

Parameters

Name Type Description
path string
data UploadData
mediaType string

View source

public UploadData Data { get; }

Tagged data.

Value: UploadData

View source

public string? MediaType { get; }

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