ZachNagengast/similarity-search-kit
🔎 SimilaritySearchKit is a Swift package providing on-device text embeddings and semantic search functionality for iOS and macOS applications.
Leverages modular embedding models (NativeEmbeddings, MiniLM, Distilbert) convertible to CoreML for efficient on-device inference, with pluggable protocols for custom embeddings, distance metrics, tokenizers, and vector storage. Supports multiple similarity metrics (cosine, dot product, Euclidean distance) and includes built-in document chunking via TextSplitterProtocol for handling long-form content in RAG-style applications.
519 stars. No commits in the last 6 months.
Stars
519
Forks
50
Language
Swift
License
Apache-2.0
Category
Last pushed
Jun 04, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/ZachNagengast/similarity-search-kit"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
koursaros-ai/nboost
NBoost is a scalable, search-api-boosting platform for deploying transformer models to improve...
freedmand/semantra
Multi-tool for semantic search
patrickfrank1/chesspos
Embedding based chess position search and embedding learning for chess positions
alexklibisz/elastiknn
Elasticsearch plugin for nearest neighbor search. Store vectors and run similarity search using...
Mubelotix/SimRepo
Shows similar repositories in the sidebar