Pinecone
ToolJet integrates with Pinecone to utilize its vector database capabilities. This integration enables ToolJet to perform vector operations such as updating, querying, and managing vector embeddings in Pinecone indexes.
NOTE
Before following this guide, it is assumed that you have already completed the process of Using Marketplace plugins.
Connection​
For connecting to Pinecone, the following credential is required:
- API Key: API key for Pinecone can be generated from the Pinecone Console.
Supported Operations​
- Get Index Stats
- List Vector IDs
- Fetch Vectors
- Upsert Vectors
- Update Vector
- Delete Vectors
- Query Vectors
Get Index Stats​
This operation retrieves statistics about a specific index in your Pinecone database.
Required Parameter​
- Index: The name of the index to get statistics for.
Response Example
{
"namespaces" : {} 1 key
"dimension" : 4
"indexFullness" : 0
"totalRecordCount" : 1
}
List Vector IDs​
This operation retrieves a list of vector IDs from a specified index.
Required Parameter​
- Index: The name of the index to list vector IDs from.
Optional Parameters​
- Prefix: Filter vector IDs by prefix.
- Limit: Maximum number of vector IDs to return.
- Pagination Token: Token for retrieving the next page of results.
- Namespace: Specific namespace to query within the index.
Response Example
{
"vectors":
[
{ "id": "0" },
{ "id": "1" },
{ "id": "10" },
{ "id": "11" },
{ "id": "12" },
{ "id": "13" },
{ "id": "14" },
{ "id": "15" },
{ "id": "16" },
{ "id": "17" },
],
"pagination": { "next": "eyJza2lwX3Bhc3QiOiIxNyIsInByZWZpeCI6bnVsbH0=" },
"namespace": "",
"usage": { "readUnits": 1 },
}