GEPA.Adapters.GenericRAG.VectorStore.InMemory (GEPA v0.3.0)

Copy Markdown View Source

Deterministic in-memory vector-store implementation for tests, examples, and local development. Similarity is simple token overlap.

Summary

Types

t()

@type t() :: %GEPA.Adapters.GenericRAG.VectorStore.InMemory{
  collection_name: String.t(),
  documents: [map()]
}

Functions

hybrid_search(store, query, k, alpha)

matches_filters?(doc, filters)

new(opts \\ [])

@spec new(keyword() | map()) :: t()