An array of retrieved documents, typically sorted by relevance (similarity score).
Optional queryAn optional identifier for the query, useful for logging or diagnostics.
Optional statsOptional statistics about the query execution (e.g., latency).
The result of a vector store query operation.
QueryResult