vector-db-elixir

Store and query high-dimensional vectors with exact k-NN search in Elixir.

4|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/8dazo/elix-db --skill vector-db-elixir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vector-db-elixir
Source: https://github.com/8dazo/elix-db/tree/main/.cursor/skills/vector-db-elixir
Command: npx skills add https://github.com/8dazo/elix-db --skill vector-db-elixir

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vector databases enable fast similarity search over embeddings within Elixir applications, eliminating manual matching and enabling real-time recommendations and semantic search.

Core Features & Use Cases

  • Exact k-NN search over stored vectors with configurable distance metrics (cosine, L2, dot product).
  • Pluggable backends for storage (ETS in-memory, file persistence, or external databases).
  • Flexible APIs to insert, get, delete, and search vectors with optional metadata.
  • Optional HTTP API for RESTful access.
  • Use cases include embedding storage for recommendations, semantic search, and similarity-based filtering in Elixir apps.

Quick Start

Instantiate an in-memory vector store, upsert vectors, and run a k-NN search to retrieve the most similar vectors.

Frequently Asked Questions about vector-db-elixir

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I store and search high-dimensional embeddings in Elixir?

To run semantic search on embeddings in Elixir, you insert vectors with optional metadata into a store and execute a k-NN query. This skill supports exact k-NN search with configurable distance metrics like cosine, L2, and dot product to find similar vectors.

What distance metrics can I use for k-NN search in an Elixir vector database?

For k-NN search in an Elixir vector database, you can use cosine similarity, L2 (Euclidean distance), and dot product metrics. These configurable distance metrics allow you to fine-tune similarity matching for different embedding models and recommendation use cases.

Can I persist vector embeddings to a file or external database in Elixir?

Yes, you can persist vector embeddings using pluggable backends in Elixir. This skill supports ETS for in-memory storage, file persistence for local saving, and external databases, allowing you to choose the right storage mechanism for your application scale.

Does this Elixir vector storage skill provide an HTTP API for RESTful access?

Yes, this Elixir vector storage skill includes an optional HTTP API for RESTful access. This allows external services to insert, get, delete, and search vectors over the network, making it easier to integrate similarity search into broader application architectures.

Is exact k-NN search suitable for large-scale recommendation systems in Elixir?

Exact k-NN search provides precise similarity matching for recommendation systems in Elixir, but it may face performance limits at very large scales. For massive datasets, you might need approximate nearest neighbor solutions, though exact k-NN ensures perfect accuracy for stored embeddings.