FilePathAnnotation

@Serializable
@SerialName(value = "file_path")
data class FilePathAnnotation(val text: String, val startIndex: Int, val endIndex: Int, val filePath: FilePath) : TextAnnotation

A URL for the file that's generated when the assistant used the code interpreter tool to generate a file.

Constructors

Link copied to clipboard
constructor(text: String, startIndex: Int, endIndex: Int, filePath: FilePath)

Properties

Link copied to clipboard
@SerialName(value = "end_index")
open override val endIndex: Int

End index.

Link copied to clipboard
@SerialName(value = "file_path")
val filePath: FilePath

The file path.

Link copied to clipboard
@SerialName(value = "start_index")
open override val startIndex: Int

Start index.

Link copied to clipboard
@SerialName(value = "text")
open override val text: String

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