Skip to main content

Contributors Issues Apache License 2.0 Downloads Docker Pulls PyPI - Version Reliability Rating Quality Gate Status

TextEmbed - Embedding Inference Server

TextEmbed is a high-throughput, low-latency REST API designed for serving vector embeddings. It supports a wide range of sentence-transformer models and frameworks, making it suitable for various applications in natural language processing.

Features

  • High Throughput & Low Latency: Designed to handle a large number of requests efficiently.
  • Flexible Model Support: Works with various sentence-transformer models.
  • Scalable: Easily integrates into larger systems and scales with demand.
  • Batch Processing: Supports batch processing for better and faster inference.
  • OpenAI Compatible REST API Endpoint: Provides an OpenAI compatible REST API endpoint.
  • Single Line Command Deployment: Deploy multiple models via a single command for efficient deployment.
  • Support for Embedding Formats: Supports binary, float16, and float32 embeddings formats for faster retrieval.

Getting Started

Prerequisites

Ensure you have Python 3.10 or higher installed. You will also need to install the required dependencies.

Installation

  1. Install the required dependencies:

    pip install -U textembed
    
  2. Start the TextEmbed server with your desired models:

    python3 -m textembed.server --models <Model1>, <Model2> --port <Port>
    

    Replace <Model1> and <Model2> with the names of the models you want to use, separated by commas. Replace <Port> with the port number on which you want to run the server.

For more information about the Docker deployment and configuration, please refer to the documentation setup.md.

Metadata

Release files for textembed 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for textembed 0.0.8
File Size Uploaded
textembed-0.0.8.tar.gz 22.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for textembed 0.0.8
File Interpreter ABI Platform
textembed-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 49.2 kB

Release files / textembed-0.0.8.tar.gz

Download URL textembed-0.0.8.tar.gz
Size 22.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b8be1d2ce72c87efe805c83db0c6868bd7416e7bb3a724fe67123f281c9a0aed
BLAKE2b-256 checksum
How to use checksums
3fa42d6d090aeda3003bbbda396a3be8ae1c5db68db38e44b0070f4f608c07f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / textembed-0.0.8-py3-none-any.whl

Download URL textembed-0.0.8-py3-none-any.whl
Size 26.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8034c1f5bf7d705564b14282998aead308e928969930ab4e370c83362b213d0a
BLAKE2b-256 checksum
How to use checksums
3ef9ebf165504d63659baa9b9d8eca54139865ba9ab70535a49360b97368b27b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page