Observed since 21 Oct, 11:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
LLM plugin for ai-mini-box — local and remote inference, RAG
LLM plugin for ai-mini-box-core — adds natural language processing: message classification, response drafting, entity extraction, and RAG.
pip install ai-mini-box-llm[local] # local inference
pip install ai-mini-box-llm[remote] # OpenAI API
Config file: data/llm_config.json (auto-created with defaults):
{
"provider": "local",
"model_path": "data/models/Phi-3-mini-q4.gguf",
"n_ctx": 4096,
"n_threads": 4,
"rag_enabled": false,
"rag_top_k": 3
}
# Show status
ai-mini-box llm status
# Classify a message
ai-mini-box llm classify "сколько стоит доставка?"
# Generate a draft response
ai-mini-box llm draft "хочу заказать пиццу" --topic "Заказ"
# Extract entities
ai-mini-box llm extract "Позвоните Ивану по телефону +7 123 456 78 90"
# Download a model
ai-mini-box llm download-model Qwen/Qwen2.5-0.5B-Instruct-GGUF:q4_0
# Rebuild RAG index
ai-mini-box llm ingest-kb
The plugin registers an LlmService implementation via the generic service registry:
from ai_mini_box.core.services.registry import register_service, get_service
# Registration (done by plugin automatically)
register_service("llm", MyLlmService())
# Usage by any other module
llm = get_service("llm")
if llm:
topic = llm.classify("How much?")
When the plugin is not installed, get_service("llm") returns None, and the core falls back to built-in heuristics (KeywordClassifier, regex extraction).
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 25 Jun 2026 | 5 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:19 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:a56ea5dd4f4ff01f423e26d1f568dfd2a62f4d1da25b236bb97caa2bbfbb6ea0