text-embeddings-inference

Deploy HuggingFace TEI Docker images for embedding and re-ranking inference.

17|3|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/jayll1303/AIEKit --skill text-embeddings-inference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: text-embeddings-inference
Source: https://github.com/jayll1303/AIEKit/tree/main/.kiro/skills/text-embeddings-inference
Command: npx skills add https://github.com/jayll1303/AIEKit --skill text-embeddings-inference

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploy and operate a production-capable inference service for text embeddings, re-ranking, and sequence classification so teams can power semantic search and RAG pipelines without relying on external APIs.

Core Features & Use Cases

  • HuggingFace TEI Deployment: Guidance for launching TEI Docker images matched to GPU/CPU architectures and CUDA compute capability.
  • Embedding & Re-ranking APIs: Use OpenAI-compatible embedding endpoints, batch requests, and re-ranker endpoints for retrieval quality improvements.
  • Performance, Monitoring & Air-gapped Support: Tune batching and concurrency for throughput, export Prometheus metrics and OpenTelemetry, and run fully offline with mounted model directories.
  • Use Case: Run a local TEI server to produce vectors for a RAG pipeline, tune batch settings for high throughput, and integrate with a vector store for semantic search.

Quick Start

Deploy and launch a local TEI Docker instance for embeddings and test it with a sample input.

Frequently Asked Questions about text-embeddings-inference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I serve HuggingFace embeddings locally for a RAG pipeline?

Deploy the HuggingFace TEI Docker container locally to serve text embeddings and rerankers through an OpenAI-compatible API, generating vectors for RAG pipelines without relying on external services.

Can I run text embeddings inference on CPU and GPU Docker architectures?

Yes, text embeddings inference supports both CPU and GPU Docker architectures. You select the specific TEI Docker image matched to your hardware and CUDA compute capability for optimal performance.

What is the best way to tune TEI batching and concurrency for high throughput?

Tune TEI batching and concurrency configurations to optimize throughput for batch embedding workloads. Adjust these Docker environment settings to maximize inference performance for your specific semantic search volume.

Does HuggingFace TEI support air-gapped deployment with mounted model directories?

Yes, HuggingFace TEI supports air-gapped deployment. You can run fully offline by mounting local model directories into the Docker container, satisfying strict security and isolation requirements.

How do re-ranker endpoints improve retrieval quality in semantic search?

Re-ranker endpoints improve retrieval quality by re-ordering retrieved documents based on semantic relevance. TEI serves sequence classification models to re-rank results, significantly enhancing accuracy over initial embedding-based searches.

Can I export Prometheus metrics and OpenTelemetry from a local TEI server?

Yes, you can export Prometheus metrics and OpenTelemetry traces from a local TEI server. This monitoring integration tracks inference latency and throughput performance during text embeddings and re-ranking workloads.