vector-js
Serverless vector database queries, upserts, and metadata filtering
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install vector-js?โผ
Run `npx skills add upstash/vector-js --all -g -y` in your terminal to install all skills in this suite globally.
How to query a vector database from serverless functions?โผ
Create an Index with your REST URL and token, then call query with a vector or plain text. The HTTP-based client works in AWS Lambda, Cloudflare Workers, and Next.js without persistent connections.
How to filter vector search results by metadata?โผ
Attach JSON metadata when upserting, then pass a SQL-like filter string such as "genre = 'fantasy'" to your query. It supports nested fields, arrays, glob patterns, and boolean logic.
What are namespaces in Upstash Vector?โผ
Namespaces partition one index into isolated subsets so reads and writes stay scoped to a single tenant or dataset. They are created automatically on first upsert.
Does vector-js support hybrid and sparse search?โผ
Yes. You can upsert and query dense, sparse, or combined hybrid vectors, with RRF or DBSF fusion algorithms for ranking hybrid results.
Related Repositories in Data & Analytics
View All in Data & AnalyticsโPaddleOCR
Extract text, tables, and formulas from PDFs and images
Scrapling
Scrape any website and bypass anti-bot protection with AI
last30days-skill
Research any topic across Reddit, X, YouTube, and the web