Table of Contents

Class MessageAnnotation

Namespace
OpenAI.ObjectModels.SharedModels
Assembly
AntRunnerLib.dll

File citation |File path

public class MessageAnnotation : IEquatable<MessageAnnotation>
Inheritance
System.Object
MessageAnnotation
Implements
System.IEquatable<MessageAnnotation>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

Properties

EndIndex

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

Property Value

System.Int32

FileCitation

[JsonPropertyName("file_citation")]
public FileCitation FileCitation { get; set; }

Property Value

FileCitation

FilePathAnnotation

[JsonPropertyName("file_path")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public FilePathAnnotation FilePathAnnotation { get; set; }

Property Value

FilePathAnnotation

StartIndex

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

Property Value

System.Int32

Text

The text in the message content that needs to be replaced.

[JsonPropertyName("text")]
public string Text { get; set; }

Property Value

System.String

Type

type can be:file_citation、file_path

[JsonPropertyName("type")]
public string Type { get; set; }

Property Value

System.String