weaviate-client
    Preparing search index...

    Interface AggregateGroupBy<T, V, M>

    interface AggregateGroupBy<T, V, M> {
        hybrid<
            P extends
                | MetricsInput<string>
                | MetricsInput<string>[]
                | MetricsInput<keyof T & string>
                | MetricsInput<keyof T & string>[],
        >(
            query: string,
            opts: AggregateGroupByHybridOptions<T, P, V>,
        ): Promise<AggregateGroupByResult<T, P>[]>;
        nearImage<
            P extends
                | MetricsInput<string>
                | MetricsInput<string>[]
                | MetricsInput<keyof T & string>
                | MetricsInput<keyof T & string>[],
        >(
            image: M,
            opts: AggregateGroupByNearOptions<T, P, V>,
        ): Promise<AggregateGroupByResult<T, P>[]>;
        nearObject<
            P extends
                | MetricsInput<string>
                | MetricsInput<string>[]
                | MetricsInput<keyof T & string>
                | MetricsInput<keyof T & string>[],
        >(
            id: string,
            opts: AggregateGroupByNearOptions<T, P, V>,
        ): Promise<AggregateGroupByResult<T, P>[]>;
        nearText<
            P extends
                | MetricsInput<string>
                | MetricsInput<string>[]
                | MetricsInput<keyof T & string>
                | MetricsInput<keyof T & string>[],
        >(
            query: string | string[],
            opts: AggregateGroupByNearOptions<T, P, V>,
        ): Promise<AggregateGroupByResult<T, P>[]>;
        nearVector<
            P extends
                | MetricsInput<string>
                | MetricsInput<string>[]
                | MetricsInput<keyof T & string>
                | MetricsInput<keyof T & string>[],
        >(
            vector: number[],
            opts: AggregateGroupByNearOptions<T, P, V>,
        ): Promise<AggregateGroupByResult<T, P>[]>;
        overAll<
            P extends
                | MetricsInput<string>
                | MetricsInput<string>[]
                | MetricsInput<keyof T & string>
                | MetricsInput<keyof T & string>[],
        >(
            opts?: AggregateGroupByOptions<T, P>,
        ): Promise<AggregateGroupByResult<T, P>[]>;
    }

    Type Parameters

    • T
    • V
    • M
    Index

    Methods