Dependencies
Personal edition needs Ollama for chat and embeddings. Docling-serve is optional until you enable PDF/Office import. Vector search uses sqlite-vec inside A1KnowHow — no separate vector database.
Overview
| Dependency | Required? | Role |
|---|---|---|
| Ollama | Yes (with default config) | Local LLM + embeddings |
| Docling-serve | No by default | Extract text from PDF, Word, etc. |
| sqlite-vec | Built-in | Vectors in pb_data/data.db |
Shipped config.yaml sets importer.provider: none and chunking.provider: local, so notes and markdown work without Docling. Set importer.provider: docling and importer.url when you add Docling.
Ollama
Installation
macOS
brew install ollama Linux
curl -fsSL https://ollama.com/install.sh | sh Windows
Download from https://ollama.com/download
Starting Ollama
ollama serve Required models (Personal defaults)
Pull the models referenced in the install kit config.yaml:
ollama pull lfm2.5:latest
ollama pull embeddinggemma-2:270m | Model | Role |
|---|---|
lfm2.5:latest | Chat, agents, and chat title generation |
embeddinggemma-2:270m | Embeddings (≈768 dims; matches vector.dimensions) |
Decision models (optional)
Workflow decision steps use Ollama’s /v1/systemone API and need Ollama 0.35 or later. Pull a Tev1 model when you use that step kind:
ollama pull tev1:0.8b
# or
ollama pull tev1:4b See Tev1 on Ollama and Workflow authoring. Tev1 runs with about 2,000 tokens of context and does not truncate long input — pass a short excerpt, or summarise first in the workflow.
LLM Models
Configuration
- Default port: 11434
- URL:
llm.url: "http://localhost:11434"inconfig.yaml
Verification
curl http://localhost:11434/api/tags
ollama list You should see lfm2.5 and embeddinggemma.
Docling-serve (optional)
Needed only when you set importer.provider: docling for PDF/Office uploads. If Docling is configured but unreachable, serve fails at startup.
Installation
Using Docker
docker run -p 5001:5001 -e DOCLING_SERVE_ENABLE_UI=1 quay.io/docling-project/docling-serve Manual installation
- Install Python 3.12+
pip install "docling-serve[ui]"docling-serve --port 5001(setimporter.urlto match)
See Docling-serve.
Configuration
importer:
provider: docling
url: "http://localhost:5001" Docker Compose sample uses port 8000 — then use http://docling:8000 (from another container) or http://localhost:8000 from the host.
Verification
curl http://localhost:5001/ Vector search (sqlite-vec)
No install step. Keep:
vector:
type: sqlite-vec
dimensions: 768 dimensions must match the embedding model.
Service URLs summary
| Service | Typical URL |
|---|---|
| Ollama | http://localhost:11434 |
| Docling-serve | http://localhost:5001 (optional) |
| sqlite-vec | (none — in pb_data/data.db) |
Next steps
- Finish Getting Started (
./setup.shthen./run.sh) - Tune Configuration
- Optionally run Ollama/Docling via Docker
Troubleshooting
Docling-serve
- Python 3.12+ recommended
importer.urlmust match the listen port- Only start Docling before
./run.shifimporter.providerisdocling
Ollama
ollama listto confirm models- Re-pull if needed:
ollama pull <model-name> - Check free disk space for model files