Introduction

In this guide we'll walk through the process of linking Cerb to Pinecone. You'll be able to use Pinecone's full API in Cerb automations for LLM embeddings.

Get a Pinecone API Key.

Log in to your Pinecone Account or sign up if you don't already have one.

Choose API keys in the menu and then click the "Create API Key" button in the top right.

Name the key (eg. cerb) and click Create key.

Copy the API key for use later.

Create the Pinecone service in Cerb

  1. Navigate to Search » Connected Services.

  2. Click the (+) icon in the top right of the list.

  3. Select Pinecone.

  4. Paste the key you copied earlier in the API Key field.

  5. Click the Create button.

Generate embeddings

Pinecone has no agent model record, and it isn't in the Provider list. An agent model exists to be named by a chat automation, and Pinecone generates vector embeddings rather than holding a conversation. So its provider is named inline on the command instead -- there's nothing to create first beyond the connected account above.

start:
  llm.embed/vectorize:
    output: embedding
    inputs:
      llm:
        pinecone:
          model: multilingual-e5-large
      input: Cerb automates helpdesk inboxes and workflows.

The first key under llm: is the provider, so pinecone: is what selects it. Everything nested under that key configures the provider itself.

commands:
  llm.embed:
    allow@bool: yes

Resources