pineconeIndexerRef function creates an indexer for Pinecone.

  • Parameters

    • params: { displayName?: string; indexId: string }

      The params for the new Pinecone indexer.

      • OptionaldisplayName?: string

        A display name for the indexer. If not specified, the default label will be Pinecone - <indexId>

      • indexId: string

        The indexId for the Pinecone indexer.

    Returns IndexerReference<
        ZodOptional<
            ZodObject<
                { namespace: ZodOptional<ZodString> },
                "strip",
                ZodTypeAny,
                { namespace?: string },
                { namespace?: string },
            >,
        >,
    >

    A reference to a Pinecone indexer.