{"id":21994492,"url":"https://github.com/codelibs/embedding-api","last_synced_at":"2026-04-29T20:02:55.653Z","repository":{"id":145324872,"uuid":"466744068","full_name":"codelibs/embedding-api","owner":"codelibs","description":"Sentence Encoding/Embedding Serving Server","archived":false,"fork":false,"pushed_at":"2024-03-07T06:38:25.000Z","size":126,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T10:36:37.580Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codelibs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-06T13:22:45.000Z","updated_at":"2023-07-02T11:46:01.000Z","dependencies_parsed_at":"2024-03-07T07:39:24.380Z","dependency_job_id":"7bfe767e-788a-4eb5-809b-a289c002fa19","html_url":"https://github.com/codelibs/embedding-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelibs%2Fembedding-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelibs%2Fembedding-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelibs%2Fembedding-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelibs%2Fembedding-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codelibs","download_url":"https://codeload.github.com/codelibs/embedding-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052673,"owners_count":20553172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T21:09:27.467Z","updated_at":"2026-04-29T20:02:45.641Z","avatar_url":"https://github.com/codelibs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentence Embedding Serving Server\n\n## Getting Started\n\n### Run Docker\n\n```\ndocker run -p 8080:8080 -it ghcr.io/codelibs/embedding-api:1.0.1\n```\n\n### Run Docker with Model Name\n\n```\ndocker run -p 8080:8080 -e MODEL_NAME=intfloat/multilingual-e5-large -it ghcr.io/codelibs/embedding-api:1.0.1\n```\n\n### Use Model Cache\n\n```\ndocker run -v ./model:/code/model -p 8080:8080 -it ghcr.io/codelibs/embedding-api:1.0.1\n```\n\n### Run Docker with GPU\n\n```\ndocker run --gpus all -p 8080:8080 -it ghcr.io/codelibs/embedding-api:1.0.1.cuda11\n```\n\n## Request\n\n### Embedding API\n\n```\ncurl -s -H \"Content-Type:application/json\" -XPOST localhost:8080/encode -d '\n{\n  \"sentences\": [\n    \"This framework generates embeddings for each input sentence\",\n    \"Sentences are passed as a list of string.\",\n    \"The quick brown fox jumps over the lazy dog.\"\n  ]\n}'\n```\n\n### Information API\n\n```\ncurl -s -H \"Content-Type:application/json\" -XGET localhost:8080/\n```\n\n### Ping API\n\n```\ncurl -s -H \"Content-Type:application/json\" -XGET localhost:8080/ping\n```\n\n## Build\n\n### Build Docker\n\n```\ndocker build --rm -t ghcr.io/codelibs/embedding-api:1.0.1 .\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelibs%2Fembedding-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodelibs%2Fembedding-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelibs%2Fembedding-api/lists"}