README.md
attributes
| source_path | references/vectorize/README.md |
|---|---|
| source_sha256 | 5552d78b49b9fd8b309e443d5a1d632d9f229693e3d71115a4482df792f27cd9 |
| source_url | https://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/vectorize/README.md |
| supporting_skill_id | 40184 |
| upstream_revision | 47dfc2ce969bf62acf8bc231198ade4bb02712e0 |
Cloudflare Vectorize
Use Vectorize when you need to control embeddings, vector indexing, and retrieval for semantic search, recommendations, or RAG. For a managed retrieval pipeline, see AI Search.
Fetch current documentation before implementing. Start with the Vectorize documentation index to discover pages; load only those relevant to the task. Treat the docs as the source of truth for APIs, configuration, models, limits, and pricing.
Task routing
| Task | Read |
|---|---|
| Create an index and connect a Worker | Configuration and Introduction to Vectorize |
| Insert, update, query, retrieve, or delete vectors | API routes |
| Generate embeddings, build RAG, or partition tenant data | Patterns |
| Diagnose missing matches, metadata, or rejected requests | Gotchas |
Decisions to make first
- Use a consistent embedding model and preprocessing for stored vectors and queries. Matching dimensions alone does not make different models' embeddings compatible.
- Choose dimensions from the embedding output and a distance metric appropriate to that model. Changing either requires a new index; check index configuration and scoring semantics before choosing thresholds.
- Plan filterable metadata before ingestion. Adding an index later requires re-upserting existing vectors to index that metadata; see metadata filtering.
- A namespace partitions search; your application must authorize access and derive tenant scope from trusted identity. See tenant patterns.
- Design for asynchronous mutation visibility rather than assuming a completed write is already searchable. See mutation semantics.
Children
No children yet.
Like how this is organised?
Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.