# fess-text-vectorizer **Repository Path**: mirrors_codelibs/fess-text-vectorizer ## Basic Information - **Project Name**: fess-text-vectorizer - **Description**: Sentence Encoding/Embedding Serving Server - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-07 - **Last Updated**: 2026-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Sentence Embedding Serving Server ## Getting Started ### Run Docker ``` docker run -p 8080:8080 -it ghcr.io/codelibs/embedding-api:1.0.1 ``` ### Run Docker with Model Name ``` docker run -p 8080:8080 -e MODEL_NAME=intfloat/multilingual-e5-large -it ghcr.io/codelibs/embedding-api:1.0.1 ``` ### Use Model Cache ``` docker run -v ./model:/code/model -p 8080:8080 -it ghcr.io/codelibs/embedding-api:1.0.1 ``` ### Run Docker with GPU ``` docker run --gpus all -p 8080:8080 -it ghcr.io/codelibs/embedding-api:1.0.1.cuda11 ``` ## Request ### Embedding API ``` curl -s -H "Content-Type:application/json" -XPOST localhost:8080/encode -d ' { "sentences": [ "This framework generates embeddings for each input sentence", "Sentences are passed as a list of string.", "The quick brown fox jumps over the lazy dog." ] }' ``` ### Information API ``` curl -s -H "Content-Type:application/json" -XGET localhost:8080/ ``` ### Ping API ``` curl -s -H "Content-Type:application/json" -XGET localhost:8080/ping ``` ## Build ### Build Docker ``` docker build --rm -t ghcr.io/codelibs/embedding-api:1.0.1 . ```