Type alias GenerativeReturn<T>

GenerativeReturn<T>: {
    generated?: string;
    objects: GenerativeObject<T>[];
}

The return of a query method in the collection.generate namespace.

Type Parameters

  • T

Type declaration

  • Optional generated?: string

    The LLM-generated output applicable to this query as a whole.

  • objects: GenerativeObject<T>[]

    The objects that were found by the query.