FilePath

data class FilePath(val text: String, val filePath: TextAnnotation.FilePath.FileWrapper, val startIndex: Int, val endIndex: Int) : TextAnnotation

File paths are created by the CodeInterpreterTool and contain references to the files generated by the tool.

Constructors

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

Types

Link copied to clipboard
data class FileWrapper(val fileId: String)

Holds data about the file generated by the code interpreter.

Properties

Link copied to clipboard

The index of the first character that does not need to be replaced

Link copied to clipboard

The file that was generated by the code interpreter

Link copied to clipboard

The index of the first character that needs to be replaced

Link copied to clipboard

The text in the message content that needs to be replaced