OpenAISkillFile
Namespace: Vercel.AI.OpenAI
public sealed class OpenAISkillFileOne file uploaded as part of a skill.
Inheritance: object
Constructors
Section titled “Constructors”OpenAISkillFile(string, byte[], string)
Section titled “OpenAISkillFile(string, byte[], string)”public OpenAISkillFile(string path, byte[] data, string mediaType)Creates a skill file. <code class=“paramref”>path</code> is the multipart filename.
Parameters
| Name | Type | Description |
|---|---|---|
path |
string | |
data |
byte[] | |
mediaType |
string |
Properties
Section titled “Properties”public byte[] Data { get; }File bytes.
Value: byte[]
MediaType
Section titled “MediaType”public string MediaType { get; }IANA media type.
Value: string
public string Path { get; }Relative path sent as the filename.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product