8000 GitHub - kemingy/mosec_emb: Embedding service with mosec that is compatible with OpenAI API.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kemingy/mosec_emb

Repository files navigation

mosec_emb

Embedding service with mosec that is compatible with OpenAI embedding API.

Usage

EMB_MODEL=thenlper/gte-base python main.py

You can find more embedding models from the HuggingFace Embedding LeaderBoard.

Dev

envd up

Images

You can use the prebuilt image from ghcr: kemingy/mosec_emb.

docker run --rm -p 8000:8000 ghcr.io/kemingy/mosec_emb:latest

Or build your own image:

# docker
docker build .
# envd
envd build :serving

Test

python client.py

About

Embedding service with mosec that is compatible with OpenAI API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 
0