Table of Contents

Class ContainerFileCitation

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

Properties

ContainerId

The ID of the container file.

[JsonInclude]
[JsonPropertyName("container_id")]
public string ContainerId { get; }

Property Value

string

EndIndex

The index of the last character of the container file citation in the message.

[JsonInclude]
[JsonPropertyName("end_index")]
public int EndIndex { get; }

Property Value

int

FileId

The ID of the file.

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

Property Value

string

FileName

The filename of the container file cited.

[JsonInclude]
[JsonPropertyName("filename")]
public string FileName { get; }

Property Value

string

StartIndex

The index of the first character of the container file citation in the message.

[JsonInclude]
[JsonPropertyName("start_index")]
public int StartIndex { get; }

Property Value

int

Type

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

Property Value

AnnotationType