• Preparing search index...
  • The search index is not available
Genkit JS API reference
  • Genkit JS API reference
  • genkitx-pinecone
  • pinecone

Function pinecone

  • pinecone<
        EmbedderCustomOptions extends
            z.ZodType<any, any, any, EmbedderCustomOptions>,
    >(
        params: {
            clientParams?: PineconeConfiguration;
            contentKey?: string;
            embedder: EmbedderArgument<EmbedderCustomOptions>;
            embedderOptions?: z.TypeOf<EmbedderCustomOptions>;
            indexId: string;
        }[],
    ): GenkitPlugin
  • Pinecone plugin that provides a Pinecone retriever and indexer

    Type Parameters

    • EmbedderCustomOptions extends z.ZodType<any, any, any, EmbedderCustomOptions>

    Parameters

    • params: {
          clientParams?: PineconeConfiguration;
          contentKey?: string;
          embedder: EmbedderArgument<EmbedderCustomOptions>;
          embedderOptions?: z.TypeOf<EmbedderCustomOptions>;
          indexId: string;
      }[]

      An array of params to set up Pinecone retrievers and indexers

    Returns GenkitPlugin

    The Pinecone Genkit plugin

    • Defined in plugins/pinecone/src/index.ts:118

Settings

Member Visibility
Genkit JS API reference
  • Loading...

Generated using TypeDoc with typedoc-github-theme