pikuri-vectordb
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.
Activity
- Latest release
- 2w ago
- Total releases
- 5
- Cadence
- ~6 days
- Last 12 months
- 5
Reach
- Downloads
- 1.0k
Details
- License
- MIT
- First release
- May 29, 2026
| Version | Released | |
|---|---|---|
0.1.0
minor
|
0.1.0
minor
Dependencies (3)
|
|
0.0.7
patch
|
0.0.7
patch
Dependencies (3)
|
|
0.0.5
patch
|
0.0.5
patch
Dependencies (3)
|
|
0.0.6
patch
|
0.0.6
patch
Dependencies (3)
|
|
0.0.4
initial
|
0.0.4
initial
Dependencies (2)
|