• Helper function for creating a Pinecone index.

    Parameters

    • params: { clientParams?: PineconeConfiguration; options: CreateIndexOptions }

      The params for creating a Pinecone index

      • OptionalclientParams?: PineconeConfiguration

        The params to initialize Pinecone.

      • options: CreateIndexOptions

        The options for creating the index.

    Returns Promise<void | IndexModel>

    A Pinecone index.