Kizuki
    Preparing search index...

    Type Alias Embedder

    Embedder: (texts: string[], kind: "document" | "query") => Promise<number[][]>

    Turns texts into lists of numbers that capture their meaning. kind tells the model whether the texts are passages or a search.

    Type Declaration

      • (texts: string[], kind: "document" | "query"): Promise<number[][]>
      • Parameters

        • texts: string[]
        • kind: "document" | "query"

        Returns Promise<number[][]>