IlyasMoutawwakil/py-txi
A Python wrapper around HuggingFace's TGI (text-generation-inference) and TEI (text-embedding-inference) servers.
This tool helps machine learning engineers and researchers integrate powerful text generation and text embedding models into their Python applications. It takes text inputs and produces either generated text responses or numerical representations (embeddings) of the input text, simplifying the process of working with large language models and embedding models.
No commits in the last 6 months. Available on PyPI.
Use this if you are a Python developer or MLOps engineer looking to easily deploy and manage HuggingFace's Text Generation Inference (TGI) or Text Embedding Inference (TEI) servers within your Python environment.
Not ideal if you need a pre-built application or a low-code solution for text generation or embeddings, as this tool requires Python programming knowledge.
Stars
32
Forks
6
Language
Python
License
Apache-2.0
Category
Last pushed
Sep 19, 2025
Commits (30d)
0
Dependencies
4
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/IlyasMoutawwakil/py-txi"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
FlagOpen/FlagEmbedding
Retrieval and Retrieval-augmented LLMs
qdrant/fastembed
Fast, Accurate, Lightweight Python library to make State of the Art Embedding
Blaizzy/mlx-embeddings
MLX-Embeddings is the best package for running Vision and Language Embedding models locally on...
Merck/Sapiens
Sapiens is a human antibody language model based on BERT.
amansrivastava17/embedding-as-service
One-Stop Solution to encode sentence to fixed length vectors from various embedding techniques