Skip to content

Commit 5781660

Browse files
authored
docs: Add Local RAG and CVE Search cookbook entries (#352)
Adds thin cookbook pages for the local-rag and qdrant_cve_search examples and registers both in the mkdocs.yml nav.
1 parent ffd1fa1 commit 5781660

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

docs/cookbooks/local-rag.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Local RAG with Encoderfile + Llamafile
2+
3+
A fully local RAG (Retrieval-Augmented Generation) system. Give it any text file, ask it questions. Everything stays local.
4+
5+
- **Encoderfile** handles embedding locally.
6+
- **Llamafile** runs the LLM locally.
7+
- **NumPy** handles similarity search in memory.
8+
9+
This is a good fit for offline environments, sensitive documents, or anywhere you need a simple, self-contained question-answering system without cloud dependencies.
10+
11+
Check out the full code and instructions in [GitHub](https://github.com/mozilla-ai/encoderfile/tree/main/examples/local-rag).
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# CVE Semantic Search with Encoderfile + Qdrant
2+
3+
A fully local, privacy-first vulnerability search system. Embed CVE descriptions with Encoderfile, store and search them with Qdrant — all self-hosted, no data leaves your network.
4+
5+
This is a good fit for internal security teams that need natural language search for vulnerability reports, pen test findings, or bug bounty submissions where sending data to a cloud embedding API is not an option.
6+
7+
Check out the full code and instructions in [GitHub](https://github.com/mozilla-ai/encoderfile/tree/main/examples/qdrant_cve_search).

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ nav:
2626
- Token Classification (NER): cookbooks/token-classification-ner.md
2727
- MCP Integration: cookbooks/mcp-integration.md
2828
- Matryoshka Embeddings: cookbooks/matryoshka-embeddings.md
29+
- Local RAG: cookbooks/local-rag.md
30+
- CVE Semantic Search: cookbooks/qdrant-cve-search.md
2931
- Code of Conduct: CODE_OF_CONDUCT.md
3032
- Contributing: CONTRIBUTING.md
3133
- Transforms:

0 commit comments

Comments
 (0)