Pinecone

Use Pinecone vector database

Configuration

Generate Embeddings

Operation
Generate Embeddings
API Key*
••••••••
Model
multilingual-e5-large
Text Inputs*
[{"text": "Your text here"}]
Generate Embeddings (pinecone_generate_embeddings)

Generate embeddings from text using Pinecone's hosted models

Input
ParameterTypeRequiredDescription
modelstringYesModel to use for generating embeddings
inputsarrayYesArray of text inputs to generate embeddings for
apiKeystringYesPinecone API key
Output
ParameterTypeDescription
dataarrayGenerated embeddings data with values and vector type
modelstringModel used for generating embeddings
vector_typestringType of vector generated (dense/sparse)
usageobjectUsage statistics for embeddings generation

Upsert Text

Operation
Upsert Text
API Key*
••••••••
Index Host*
https://index-name-abc123.svc.project-id.pinecone.io
Namespace*
default
Records*
{"_id": "rec1", "text": "Apple's first product, the Apple I, was released in 1976.", "category": "product"} {"_id": "rec2", "chunk_text": "Apples are a great source of dietary fiber.", "category": "nutrition"}
Upsert Text (pinecone_upsert_text)

Insert or update text records in a Pinecone index

Input
ParameterTypeRequiredDescription
indexHoststringYesFull Pinecone index host URL
namespacestringYesNamespace to upsert records into
recordsarrayYesRecord or array of records to upsert, each containing _id, text, and optional metadata
apiKeystringYesPinecone API key
Output
ParameterTypeDescription
statusTextstringStatus of the upsert operation
upsertedCountnumberNumber of records successfully upserted

Search With Text

Operation
Search With Text
API Key*
••••••••
Index Host*
https://index-name-abc123.svc.project-id.pinecone.io
Namespace*
default
Search Query*
Enter text to search for
Top K Results
10
Fields to Return
["category", "text"]
Filter
{"category": "product"}
Rerank Options
{"model": "bge-reranker-v2-m3", "rank_fields": ["text"], "top_n": 2}
Search With Text (pinecone_search_text)

Search for similar text in a Pinecone index

Input
ParameterTypeRequiredDescription
indexHoststringYesFull Pinecone index host URL
namespacestringNoNamespace to search in
searchQuerystringYesText to search for
topKstringNoNumber of results to return
fieldsarrayNoFields to return in the results
filterobjectNoFilter to apply to the search
rerankobjectNoReranking parameters
apiKeystringYesPinecone API key
Output
ParameterTypeDescription
matchesarraySearch results with ID, score, and metadata
usageobjectUsage statistics including tokens, read units, and rerank units

Search With Vector

Operation
Search With Vector
API Key*
••••••••
Index Host*
https://index-name-abc123.svc.project-id.pinecone.io
Namespace*
default
Query Vector*
[0.1, 0.2, 0.3, ...]
Top K Results
10
Options
Options
Search With Vector (pinecone_search_vector)

Search for similar vectors in a Pinecone index

Input
ParameterTypeRequiredDescription
indexHoststringYesFull Pinecone index host URL
namespacestringNoNamespace to search in
vectorarrayYesVector to search for
topKnumberNoNumber of results to return
filterobjectNoFilter to apply to the search
includeValuesbooleanNoInclude vector values in response
includeMetadatabooleanNoInclude metadata in response
apiKeystringYesPinecone API key
Output
ParameterTypeDescription
matchesarrayVector search results with ID, score, values, and metadata
namespacestringNamespace where the search was performed

Fetch Vectors

Operation
Fetch Vectors
API Key*
••••••••
Index Host*
https://index-name-abc123.svc.project-id.pinecone.io
Namespace*
Namespace
Vector IDs*
["vec1", "vec2"]
Fetch Vectors (pinecone_fetch)

Fetch vectors by ID from a Pinecone index

Input
ParameterTypeRequiredDescription
indexHoststringYesFull Pinecone index host URL
idsarrayYesArray of vector IDs to fetch
namespacestringNoNamespace to fetch vectors from
apiKeystringYesPinecone API key
Output
ParameterTypeDescription
matchesarrayFetched vectors with ID, values, metadata, and score
dataarrayVector data with values and vector type
usageobjectUsage statistics including total read units

Usage Instructions

Integrate Pinecone into the workflow. Can generate embeddings, upsert text, search with text, fetch vectors, and search with vectors.

Notes

  • Category: tools
  • Type: pinecone