UNPKG

@orama/orama

Version:

A complete search engine and RAG pipeline in your browser, server, or edge network with support for full-text, vector, and hybrid search in less than 2kb.

3 lines (2 loc) 295 B
import type { AnyOrama, GroupByParams, GroupResult, TokenScore, TypedDocument } from '../types.js'; export declare function getGroups<T extends AnyOrama, ResultDocument = TypedDocument<T>>(orama: T, results: TokenScore[], groupBy: GroupByParams<T, ResultDocument>): GroupResult<ResultDocument>;