Dicklesworthstone/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.
Provides multi-format document ingestion (PDFs with OCR, Word docs, images, audio via Whisper transcription) with sentence-level embeddings cached in SQLite, eliminating redundant computation. Advanced semantic search combines FAISS cosine similarity filtering with sophisticated rank-correlation measures (Spearman's rho, Kendall's tau, Hoeffding's D) via a custom Rust library for refined result ranking. Supports multiple embedding pooling strategies (mean, SVD, ICA, factor analysis) to handle variable-length inputs and includes grammar-constrained text generation endpoints.
1,048 stars. No commits in the last 6 months.
Stars
1,048
Forks
65
Language
Python
License
—
Category
Last pushed
Feb 27, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/Dicklesworthstone/swiss_army_llama"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
awinml/voyage-embedders-haystack
Custom components for Haystack for creating embeddings and reranking documents using the VoyageAI Models.
estebanpdl/osintgpt
An open-source intelligence (OSINT) analysis tool leveraging GPT-powered embeddings and vector...
voyage-ai/voyageai-python
Voyage AI Official Python Library
calebevans/cordon
Reduce logs to their semantic anomalies
FullStackWithLawrence/openai-embeddings
OpenAI chatGPT hybrid search and retrieval augmented generation