Table of Contents

Class FilePath

Namespace
OpenAI
Assembly
OpenAI-DotNet.dll
public sealed class FilePath : IAnnotation
Inheritance
FilePath
Implements
Inherited Members

Properties

FileId

The ID of the file.

[JsonInclude]
[JsonPropertyName("file_id")]
public string FileId { get; }

Property Value

string

Index

The index of the file in the list of files.

[JsonInclude]
[JsonPropertyName("index")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? Index { get; }

Property Value

int?

MimeType

The MIME type of the file.

[JsonInclude]
[JsonPropertyName("mime_type")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string MimeType { get; }

Property Value

string

Type

[JsonInclude]
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter<AnnotationType>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AnnotationType Type { get; }

Property Value

AnnotationType