interface VectorStoreSearchResponse {
    attributes: null | Record<string, string | number | boolean>;
    content: OpenAIClient.VectorStores.VectorStoreSearchResponse.Content[];
    file_id: string;
    filename: string;
    score: number;
}

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.

Content chunks from the file.

file_id: string

The ID of the vector store file.

filename: string

The name of the vector store file.

score: number

The similarity score for the result.