Pinecone
Production-ready vector search with Pinecone cloud database.
Quick Start
skill-seekers scrape --format pinecone --config configs/react.json
Setup
-
Get API Key from Pinecone Console
-
Install dependencies:
pip install pinecone-client
- Upload to Pinecone:
from pinecone import Pinecone, ServerlessSpec
import json
# Initialize
pc = Pinecone(api_key="your-api-key")
# Create index
index = pc.Index("react-docs")
# Load and upsert data
with open("output/react-pinecone.json") as f:
data = json.load(f)
index.upsert(vectors=data)
Features
- ✅ Serverless - Pay only for what you use
- ✅ Metadata filtering - Filter by category, source
- ✅ Hybrid search - Combine semantic + keyword
- ✅ High availability - Production-ready SLA
Query Example
# Query
results = index.query(
vector=embedding,
top_k=5,
filter={"category": "api"}
)
Next Steps
- RAG Pipelines - Complete examples
- Production Deployment - Best practices