Genkit JS API reference
    Preparing search index...

    Interface VectorSearchOptions<EmbedderCustomOptions, IndexerOptions, RetrieverOptions>

    interface VectorSearchOptions<
        EmbedderCustomOptions extends z.ZodTypeAny,
        IndexerOptions extends {},
        RetrieverOptions extends { k?: number },
    > {
        deployedIndexId: string;
        documentIndexer: DocumentIndexer<IndexerOptions>;
        documentRetriever: DocumentRetriever<RetrieverOptions>;
        embedder?: EmbedderReference<EmbedderCustomOptions>;
        embedderOptions?: z.TypeOf<EmbedderCustomOptions>;
        indexEndpointId: string;
        indexId: string;
        publicDomainName: string;
    }

    Type Parameters

    • EmbedderCustomOptions extends z.ZodTypeAny
    • IndexerOptions extends {}
    • RetrieverOptions extends { k?: number }
    Index

    Properties

    deployedIndexId: string
    embedderOptions?: z.TypeOf<EmbedderCustomOptions>
    indexEndpointId: string
    indexId: string
    publicDomainName: string