Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/cookbooks/local-rag.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Local RAG with Encoderfile + Llamafile

A fully local RAG (Retrieval-Augmented Generation) system. Give it any text file, ask it questions. Everything stays local.

- **Encoderfile** handles embedding locally.
- **Llamafile** runs the LLM locally.
- **NumPy** handles similarity search in memory.

This is a good fit for offline environments, sensitive documents, or anywhere you need a simple, self-contained question-answering system without cloud dependencies.

Check out the full code and instructions in [GitHub](https://github.com/mozilla-ai/encoderfile/tree/main/examples/local-rag).
7 changes: 7 additions & 0 deletions docs/cookbooks/qdrant-cve-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# CVE Semantic Search with Encoderfile + Qdrant

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.

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.

Check out the full code and instructions in [GitHub](https://github.com/mozilla-ai/encoderfile/tree/main/examples/qdrant_cve_search).
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ nav:
- Token Classification (NER): cookbooks/token-classification-ner.md
- MCP Integration: cookbooks/mcp-integration.md
- Matryoshka Embeddings: cookbooks/matryoshka-embeddings.md
- Local RAG: cookbooks/local-rag.md
- CVE Semantic Search: cookbooks/qdrant-cve-search.md
- Code of Conduct: CODE_OF_CONDUCT.md
- Contributing: CONTRIBUTING.md
- Transforms:
Expand Down
Loading