Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

storing-and-querying-vectors

Create an S3 Vectors bucket and index, then store and query embeddings.

When to use it

You have text or embeddings ready but no vector store, and need semantic search with low, infrequent query volume.

For example

You say

Use storing-and-querying-vectors to set up an S3 Vectors index for my product FAQ docs and run a similarity search for 'return policy'.

You get
  • Vector bucket and index
  • Stored FAQ embeddings
  • Top-k similarity results

How it works

  • Index dimension, distance metric, and non-filterable metadata keys are fixed at creation, so they are confirmed up front.
  • Filtering or returning metadata also needs the s3vectors:GetVectors permission.

Before installing

Needs AWS MCP tools or the AWS CLI, plus a confirmed AWS region and an embedding model choice.