Interface VectorSearchOptions<EmbedderCustomOptions, IndexerOptions, RetrieverOptions>

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

Type Parameters

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

Properties

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