FilePathAnnotation

@Serializable
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
open override val endIndex: Int

End index.

Link copied to clipboard

The file path.

Link copied to clipboard
open override val startIndex: Int

Start index.

Link copied to clipboard
open override val text: String

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