Documentation Index
Fetch the complete documentation index at: https://docs.asteragents.com/llms.txt
Use this file to discover all available pages before exploring further.
What it does
The Query Pinecone tool searches vector embeddings in your Pinecone database to find semantically similar documents. Perfect for RAG (Retrieval-Augmented Generation), semantic search, recommendation systems, and finding relevant content based on meaning rather than keywords.Requires Pinecone Integration: You need to set up a Pinecone integration before agents can use this tool.
Key features
- Semantic search using vector embeddings
- Search within specific namespaces for organized data
- Configurable result limits for performance optimization
- Access to similarity scores and metadata
- High-performance vector similarity matching
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The search query to find similar documents |
namespace | string | Yes | The namespace within Pinecone to search |
top_k | number | No | Number of results to return (default: 5) |
Common use cases
Document retrieval for RAG
Content recommendation
Semantic search
Research assistance
Product matching
Knowledge base search
Understanding namespaces
Namespaces in Pinecone help organize your vector data:- Separate datasets: Keep different types of content isolated
- Access control: Control which data agents can search
- Performance: Search within smaller, focused datasets
- Organization: Logical grouping of related documents
documents- General document storageproducts- Product catalogs and descriptionssupport- Support tickets and solutionsresearch- Research papers and studiesuser_content- User-generated content
What you get back
- Similarity Score: How closely each result matches your query (0-1 scale)
- Document Metadata: Associated information about each document
- Match Ranking: Results ordered by relevance/similarity
- Vector IDs: Unique identifiers for each matched document
Best practices
- Use descriptive, natural language queries for better semantic matching
- Choose appropriate namespaces to focus your search
- Adjust
top_kbased on your use case (more results = broader coverage) - Include relevant context in your queries for better matches
- Monitor similarity scores to understand result quality
- Organize your Pinecone data with meaningful namespaces
Troubleshooting
“Namespace not found”- Verify the namespace exists in your Pinecone index
- Check the namespace spelling (case-sensitive)
- Ensure the namespace has been populated with data
- Try broader or different query terms
- Check if the namespace contains relevant data
- Increase the
top_kvalue to get more results
- Set up the Pinecone integration first
- Verify your API key and host configuration
- Check that the integration is active and connected
- Your query might not match the indexed content well
- Try rephrasing your query with different terms
- Check if the right namespace is being searched
Related tools
- Scrape URL - Extract content to add to Pinecone
- Execute Python - Process and analyze search results
- Send Email - Share relevant documents found
