• Generate embeddings for multiple texts in batch

    More efficient than generating one at a time. Automatically chunks into batches of MAX_EMBEDDING_BATCH_SIZE.

    Parameters

    • texts: string[]

      Array of texts to embed

    Returns Promise<number[][]>

    Array of embedding vectors (same order as input)