Kizuki
    Preparing search index...

    Type Alias Ask

    Ask: <T>(
        request: { prompt: string; schema: z.ZodType<T>; system: string },
    ) => Promise<T>

    A function that asks the answer model for a reply in a fixed shape. Tests pass a fake one.

    Type Declaration

      • <T>(
            request: { prompt: string; schema: z.ZodType<T>; system: string },
        ): Promise<T>
      • Type Parameters

        • T

        Parameters

        • request: { prompt: string; schema: z.ZodType<T>; system: string }

        Returns Promise<T>