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
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
FileId
The ID of the file.
[JsonInclude]
[JsonPropertyName("file_id")]
public string FileId { get; }
Property Value
FileName
The filename of the container file cited.
[JsonInclude]
[JsonPropertyName("filename")]
public string FileName { get; }
Property Value
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
Type
[JsonInclude]
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter<AnnotationType>))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AnnotationType Type { get; }