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

interface FilePathDeltaAnnotation {
    end_index?: number;
    file_path?: OpenAIClient.Beta.Threads.Messages.FilePathDeltaAnnotation.FilePath;
    index: number;
    start_index?: number;
    text?: string;
    type: "file_path";
}

Properties

end_index?: number
index: number

The index of the annotation in the text content part.

start_index?: number
text?: string

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

type: "file_path"

Always file_path.