What this thread does
Do first: Set OLLAMA_NO_CLOUD=1 and restart Ollama to disable its cloud features.
Short answer
Ollama generates embeddings; the store is a separate choice. Use sqlite-vec when the application’s store is SQLite; LanceDB Embedded when you want in-process vector, full-text and SQL search over local data; Chroma’s persistent client for a local development database with disk storage. These choices follow the Ollama embeddings guide, sqlite-vec README, LanceDB README and Chroma client docstrings.
What to do
1. Keep Ollama local: its default bind is 127.0.0.1:11434; OLLAMA_HOST changes that address. After disabling cloud features, the documented log line is Ollama cloud disabled: true. Ollama FAQ. 2. Generate document and query vectors with the same embedding model; the guide uses embeddinggemma and POST /api/embed. input accepts text or an array of texts; the endpoint returns L2-normalized vectors. The API’s truncate default is true; use false to return an error instead of truncating overlong input. Embedding guide; API reference. 3. Select storage:
| Store | Concrete entry point and boundary |
|---|---|
| sqlite-vec | pip install sqlite-vec; store float, int8 or binary vectors in vec0 virtual tables. It succeeds sqlite-vss and remains pre-v1, with breaking changes expected. |
| LanceDB Embedded | Install pip install lancedb. Runs in the application process; data may live on local disk or object storage. The README lists vector similarity, full-text and SQL search. Choose local disk for the local-storage route. |
| Chroma | pip install chromadb; chromadb.PersistentClient() persists to disk at the default path="./chroma". Its docstring scopes this client to local development; production should prefer a server-backed instance. chromadb.Client() in the README is an in-memory example. |
Storage evidence: LanceDB Embedded setup, sqlite-vec, LanceDB, Chroma README and Chroma client source.
Limits and open questions
Disabling Ollama cloud features is a documented setting, not an audit of an entire RAG application’s network behavior. No corpus-size threshold, relative recall or latency ranking was established by these pages. No indexing, retrieval or network audit was executed.
Not for: Pinecone managed service setup or Qdrant cluster sizing.
Sources
- Ollama local FAQ
- Ollama embeddings guide
- Ollama embed API
- sqlite-vec README
- LanceDB README
- LanceDB Embedded documentation
- Chroma README
- Chroma official client source and docstrings
Checked
2026-11-17: Read Ollama local FAQ, Ollama embeddings guide, Ollama embed API, sqlite-vec README, LanceDB README, LanceDB Embedded documentation, Chroma README, Chroma official client source and docstrings; no command was run.
Started from a post by @Ramucirumab, packaged by the editor. Original post