Skip to main content

TextEmbed provides a robust and scalable REST API for generating vector embeddings from text. Built for performance and flexibility, it supports various sentence-transformer models, allowing users to easily integrate state-of-the-art NLP techniques into their applications. Whether you need embeddings for search, recommendation, or other NLP tasks, TextEmbed delivers with high efficiency.

Project description

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.
  • REST API: Simple and accessible API endpoints.

Getting Started

Prerequisites

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

Installation

  1. Clone the repository:

    git clone https://github.com/kevaldekivadiya2415/textembed.git
    cd textembed
    
  2. Install the dependencies:

    pip install -r requirements.txt
    

Running the Server

  1. Set up the package in development mode:

    python3 setup.py develop
    
  2. Start the TextEmbed server with your desired model:

    python3 -m textembed.server --model <Model Name>
    

    Replace <Model Name> with the name of the model you want to use.

  3. For more information and additional options, run:

    python3 -m textembed.server --help
    

Accessing the API

Once the server is running, you can access the API documentation via Swagger UI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textembed-0.0.1.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

textembed-0.0.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file textembed-0.0.1.tar.gz.

File metadata

  • Download URL: textembed-0.0.1.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.13

File hashes

Hashes for textembed-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ac82da7fb9b975c494db201d7e161f06b6d00f2600ef6cdcc08769d1ff5fec40
MD5 6254aac04916a94972a57091879f73ff
BLAKE2b-256 711343a87a147655b8ae4b57bb00b4c56b60415517f0b65e1d8644551974de50

See more details on using hashes here.

File details

Details for the file textembed-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: textembed-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.13

File hashes

Hashes for textembed-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b70183dc0d4bfe0e6143282afb1295f7f96964f36ea363d6e3aafaae3949ad91
MD5 d4a29901fcb0952e5bfff1e331d246a2
BLAKE2b-256 344397de642661dc0384b8cd8e8e72efc5bcb224573c0eca25405b3c9e6e8991

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page