RubyGems Navigation menu

pikuri-vectordb 0.0.5

pikuri-vectordb gives a pikuri-core agent a +vectordb_search+ tool over a local document corpus — agentic search, the agent decides when to retrieve. Ships a swappable backend (a pure-Ruby +Backend::InMemory+ for teaching, plus thin +Backend::Qdrant+ / +Backend::Chroma+ HTTP clients for persistence — Qdrant recommended), a chunker, an embedder wrapper over +RubyLLM.embed+, and an optional +Reranker::LlamaServer+ that speaks +/v1/rerank+ against a cross-encoder model. Text extraction goes through +Pikuri::FileType.read_as_text+ in pikuri-core, which handles plain text / Markdown / PDF; HTML extraction is a deferred follow-up. Hosts wire the feature via +c.add_extension Pikuri::VectorDb::Extension.new(...)+ inside the +Agent.new+ block — same opt-in shape as +pikuri-tasks+ / +pikuri-skills+. The bundled +Pikuri::VectorDb::LIBRARIAN+ persona is the privilege-separated sub-agent counterpart for hosts that want recall to flow through a child rather than the parent's context. Three model endpoints in the full setup — chat (via ruby_llm), an embedder (via +RubyLLM.embed+), and an optional reranker (HTTP +/v1/rerank+). A single +llama-server+ in router mode serves all three by default, loading each cached GGUF on demand; see the gem's README for details.

Gemfile:
=

install:
=

Versions:

  1. 0.0.7 June 11, 2026 (66 KB)
  2. 0.0.6 June 04, 2026 (66 KB)
  3. 0.0.5 June 04, 2026 (66 KB)
  4. 0.0.4 May 29, 2026 (41 KB)

Runtime Dependencies (3):

listen ~> 3.9
pikuri-core = 0.0.5

Owners:

Pushed by:

Authors:

  • Martin Vysny

SHA 256 checksum:

=

Total downloads 688

For this version 135

Version Released:

License:

MIT

Required Ruby Version: >= 3.3

New versions require MFA: true

Version published with MFA: true

Links: