Gen6

Pinecone

Use Pinecone vector database

Pinecone is a vector database designed for building high-performance vector search applications. It enables efficient storage, management, and similarity search of high-dimensional vector embeddings, making it ideal for AI applications that require semantic search capabilities.

With Pinecone, you can:

  • Store vector embeddings: Efficiently manage high-dimensional vectors at scale
  • Perform similarity search: Find the most similar vectors to a query vector in milliseconds
  • Build semantic search: Create search experiences based on meaning rather than keywords
  • Implement recommendation systems: Generate personalized recommendations based on content similarity
  • Deploy machine learning models: Operationalize ML models that rely on vector similarity
  • Scale seamlessly: Handle billions of vectors with consistent performance
  • Maintain real-time indexes: Update your vector database in real-time as new data arrives

The Gen6 Pinecone integration allows your agents to programmatically use vector search, bringing sophisticated automation to your workflows that combines natural language processing with semantic search.

Your agents gain the ability to generate text embeddings, store them in Pinecone indexes, and perform similarity searches to find the most relevant information based on semantic meaning rather than simple keyword matching.

By connecting Gen6 with Pinecone, you bridge the gap between AI workflows and vector search infrastructure, allowing you to create agents that understand context, retrieve relevant data from large datasets, and deliver more personalized, accurate responses without complex infrastructure management.

Usage Instructions

Store, search, and retrieve vector embeddings using Pinecone's specialized vector database. Generate embeddings from text and perform semantic similarity searches with customizable filtering options.

Where to get the Pinecone API key?

The API key is essential to use the tool. To get a Pinecone API key, you will need to use their web console.

Here is a step-by-step guide based on the official documentation:

  1. Sign up or log in to the Pinecone console.

  2. Navigate to the "API Keys" section. Once you are logged in and have selected your project, find the "API Keys" tab in the left-hand navigation menu.

  3. Create a new API key.

    • Click the "Create API key" button.
    • Give your new key a descriptive name.
    • (Optional) If you are on a paid plan, you can select custom permissions for the key. For the free Starter plan, the permissions are set to "All" by default.
  4. Copy and save your key.

    • After you click "Create key," Pinecone will display the API key value.
    • Important: This is the only time the full key will be shown. Copy it immediately and save it in a secure location, like a password manager or a .env file or in the Environment in Setings in Gen6, as you will not be able to retrieve it again.
    • You will also need your environment name, which is typically found on the same "API Keys" page or in your project settings.

Tools

pinecone_generate_embeddings

Generate embeddings from text using Pinecone

Input

ParameterTypeRequiredDescription
modelstringYesModel to use for generating embeddings
inputsarrayYesArray of text inputs to generate embeddings for
apiKeystringYesPinecone API key

Output

ParameterTypeDescription
matchesanySearch matches
upsertedCountanyUpserted count
dataanyResponse data
modelanyModel information
vector_typeanyVector type
usageanyUsage statistics

Screenshot

Pinecone Working SS

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
matchesanySearch matches
upsertedCountanyUpserted count
dataanyResponse data
modelanyModel information
vector_typeanyVector type
usageanyUsage statistics

Screenshot

Pinecone Working SS

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
matchesanySearch matches
upsertedCountanyUpserted count
dataanyResponse data
modelanyModel information
vector_typeanyVector type
usageanyUsage statistics

Screenshot

Pinecone Working SS

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
matchesanySearch matches
upsertedCountanyUpserted count
dataanyResponse data
modelanyModel information
vector_typeanyVector type
usageanyUsage statistics

Screenshot

Pinecone Working SS

pinecone_fetch

Fetch vectors by ID from a Pinecone index

Input

ParameterTypeRequiredDescription
indexHoststringYesFull Pinecone index host URL
namespacestringNoNamespace to fetch vectors from
vectorIdsarrayYesArray of vector IDs to fetch
apiKeystringYesPinecone API key

Output

ParameterTypeDescription
matchesanySearch matches
upsertedCountanyUpserted count
dataanyResponse data
modelanyModel information
vector_typeanyVector type
usageanyUsage statistics

Screenshot

Pinecone Working SS

Notes

  • Category: tools
  • Type: pinecone
Pinecone