#145 · Primary category: Knowledge Base & RAG
swiss_army_llama
A FastAPI service for semantic text search using precomputed embeddings and advanced similarity measures, with built-in support for various file types through textract.
Project last updated:02/27/25
GitHub Stars
1.1K
Forks
66
Contributors
3
License
Other
Why we included this project
Running semantic search locally means you can keep documents and embeddings on your own hardware, and this FastAPI service makes that straightforward. It wraps llama.cpp-backed embedding models behind REST endpoints, ingests PDFs (including scanned ones via OCR), Word files, and audio that gets transcribed with Whisper, then stores the resulting vectors in SQLite so repeated work is skipped. For retrieval, it uses FAISS, and when plain cosine similarity isn't discriminating enough, a second pass applies more sophisticated statistical measures like Kendall tau or Hoeffding's D. A Swagger UI and a simple Docker setup let a small team stand up an internal search tool without a big integration effort, and the codebase is a useful reference for how ingestion, embedding pooling, and vector retrieval fit together.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
crawl4ai
🚀🤖 Crawl4AI: Open-source LLM Friendly Web Crawler & Scraper. Don't be shy, join here: https://discord.gg/jP8KfhDhyN
docling
Get your documents ready for gen AI
anything-llm
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience