Type alias QueryResponse<T>

QueryResponse<T>: {
    matches: ScoredPineconeRecord<T>[];
    namespace: string;
    usage?: OperationUsage;
}

Response from query

Type Parameters

Type declaration

  • matches: ScoredPineconeRecord<T>[]

    The query results sorted by similarity

  • namespace: string

    The namespace where the query was executed.

  • Optional usage?: OperationUsage

    The usage information for the query operation.