#214 · Primary category: Knowledge Base & RAG
similarity-search-kit
🔎 SimilaritySearchKit is a Swift package providing on-device text embeddings and semantic search functionality for iOS and macOS applications.
Project last updated:06/04/24
GitHub Stars
535
Forks
53
Contributors
10
License
Apache-2.0
Why we included this project
If you build iOS or macOS apps that need to search over local documents, this Swift package gives you a working semantic search layer without sending text to a remote API. It wraps several sentence-embedding models, including Apple's built-in NaturalLanguage embeddings and quantized MiniLM/DistilBERT variants, behind a small SimilarityIndex API, so you can index text, query it, and get ranked results with a few lines of code. The on-device design matters for privacy-sensitive use cases like searching confidential files or building offline question-answering over a local dataset, and the protocol-based architecture lets you swap in your own embedding model or distance metric. Teams already invested in Swift and CoreML will find it a natural fit, while the included example apps (PDF search, chat-with-files) show realistic integration patterns rather than toy snippets.
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