interface Result {
    attributes?: null | Record<string, string | number | boolean>;
    file_id?: string;
    filename?: string;
    score?: number;
    text?: string;
}

Properties

attributes?: null | Record<string, string | number | boolean>

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.

file_id?: string

The unique ID of the file.

filename?: string

The name of the file.

score?: number

The relevance score of the file - a value between 0 and 1.

text?: string

The text that was retrieved from the file.