Authors: @Anu Judson and @Neena P K
Using IBM® App Connect to interact with Pinecone Vector Database
Pinecone Vector Database is a purpose-built platform for indexing and searching dense vectors. It supports use cases like semantic search, recommendation systems, and AI-powered data analysis.
Building a flow in IBM App Connect with Pinecone Vector Database
Use App Connect to build flows that integrate with Pinecone Vector Database and other applications. The connector is displayed as Pinecone Vector Database on the App Connect User Interface (UI).
To allow App Connect to connect to your Pinecone Vector Database account, you need to fill in the connection fields that you see in the App Connect Designer page or flow editor.
Supported authorization type:
API key
For detailed information about the authorization type, how to generate connection field values, and how to use the Templates gallery, see How to use IBM App Connect with Pinecone Vector Database on the IBM Documentation page.
Supported objects in Pinecone Vector Database
The following are the Pinecone Vector Database objects that can be run in App Connect.
Object |
Description |
Indexes |
Use this object to create, retrieve and delete indexes. |
Vectors |
Use this object to create, retrieve, query, update or delete vectors
|
Scenario: RAG pattern flow - Query the Pinecone Vector DB using embeddings from IBM watsonx ai and generate text with the results
Consider the following scenario:
Using a sentence transformer model, textual data is converted into vector embeddings. The generated embeddings, along with their associated text, are stored in the Pinecone Vector Database for semantic search.
In this flow, when you submit a question, the relevant data is retrieved from Pinecone Vector Database based on semantic similarity, and IBM watsonx.ai generates a response using that data as context.
Resources
You can view this template and other useful templates in the Templates gallery of your App Connect Designer instance.
Get started with a free IBM App Connect Enterprise as a Service trial for 30 days to try out all our templates, visit https://ibm.biz/app-trial.
If you are running a containerized instance of IBM App Connect, use the following URL to directly access the template:
- RAG pattern flow - Query the Pinecone Vector DB using embeddings from IBM watsonx ai and generate text with the results:
https://<your-instance-id>/templates/RAG%20pattern%20flow%20- %20Query%20the%20Pinecone%20Vector%20DB%20using%20embeddings%20from%20IBM%20watsonx%20ai%20and%20generate%20text%20with%20the%20results
Note: Replace <your-instance-id>
in the URL with your custom instance ID.
You must enable the Designer AI features in your containerized environment to access the App Connect templates. For more information, see The preloaded IBM App Connect templates.
You also have the option to import the .yaml file for this template directly into your App Connect Designer instance. These templates are available in a public GitHub repository.