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.
About
The Swiss Army Llama is designed to facilitate and optimize the process of working with local LLMs by using FastAPI to expose convenient REST endpoints for various tasks, including obtaining text embeddings and completions using different LLMs via llama_cpp, as well as automating the process of obtaining all the embeddings for most common document types, including PDFs (even ones that require OCR), Word files, etc; it even allows you to submit an audio file and automatically transcribes it with the Whisper model, cleans up the resulting text, and then computes the embeddings for it. To avoid wasting computation, these embeddings are cached in SQlite and retrieved if they have already been computed before. To speed up the process of loading multiple LLMs, optional RAM Disks can be used, and the process for creating and managing them is handled automatically for you. With a quick and easy setup process, you will immediately get access to a veritable "Swiss Army Knife" of LLM related tools, all accessible via a convenient Swagger UI and ready to be integrated into your own applications with minimal fuss or configuration required.
Open Source Health
- Stars
- 1,055
- Forks
- 67
- License
- Not stated
- Last commit
- 2 years ago
Resources & Links
Related Categories
Vendor
Jeff Emanuel
Building in NY
Quick Links
Open Source
More by Jeff Emanuel
Related Products
Turbovec
A vector index built on TurboQuant, written in Rust with Python bindings
Top category match
NGT
Nearest Neighbor Search with Neighborhood Graph and Tree for High-dimensional Data
Top category match
Chromem Go
Embeddable vector database for Go with Chroma-like interface and zero third-party dependencies. In-memory with optional persistence.
Top category match
Vecs
Postgres/pgvector Python Client
Top category match
Keras-TextClassification
Macropodus擅长自然语言处理,深度学习与tensorflow,LLM,等方面的知识,Macropodus关注机器翻译,神经网络,知识图谱,语音识别,排序算法,推荐算法,tensorflow,语言模型,nlp,机器学习,人工智能,pytorch,自然语言处理,数据挖掘,分类领域.
Top category match