Genkit JS API reference
    Preparing search index...

    Interface EmbedRequest<O>

    An embed request containing documents to embed and optional configuration.

    interface EmbedRequest<O = any> {
        input: Document[];
        options?: O;
    }

    Type Parameters

    • O = any
    Index

    Properties

    Properties

    input: Document[]
    options?: O