{"id":22814825,"url":"https://github.com/seonglae/tei","last_synced_at":"2025-06-30T15:33:09.458Z","repository":{"id":204182023,"uuid":"711103230","full_name":"seonglae/tei","owner":"seonglae","description":"Text Embeddings Inference (TEI)'s unofficial python wrapper library for batch processing with asyncio","archived":false,"fork":false,"pushed_at":"2023-11-27T15:13:24.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T22:17:34.052Z","etag":null,"topics":["aiohttp","asyncio","embedding","embedding-vectors","embeddings","tei","text-embeddings","text-embeddings-inference"],"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/seonglae.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":"2023-10-28T08:15:50.000Z","updated_at":"2023-11-22T01:18:26.000Z","dependencies_parsed_at":"2023-11-21T04:29:35.198Z","dependency_job_id":"2cc41536-32f6-4747-a4af-421f98fc5631","html_url":"https://github.com/seonglae/tei","commit_stats":null,"previous_names":["seonglae/tei"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seonglae/tei","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonglae%2Ftei","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonglae%2Ftei/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonglae%2Ftei/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonglae%2Ftei/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seonglae","download_url":"https://codeload.github.com/seonglae/tei/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seonglae%2Ftei/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262800853,"owners_count":23366451,"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":["aiohttp","asyncio","embedding","embedding-vectors","embeddings","tei","text-embeddings","text-embeddings-inference"],"created_at":"2024-12-12T13:10:51.221Z","updated_at":"2025-06-30T15:33:09.410Z","avatar_url":"https://github.com/seonglae.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TEI Python\n\nText Embeddings Inference (TEI)'s unofficial python wrapper library for batch processing with asyncio.\n\n# Get Started\n\n```sh\npip install teicli\n```\n\n```py\nfrom tei import TEIClient\n\nclient = TEIClient()\nclient.embed_sync(\"Hello world!\")\n# [0.010536194, 0.05859375, 0.022262....\n\nroutine = client.embed_batch([\"Hello world!\", \"Hello world!\", \"Hello world!\"])\n# [[0.010536194, 0.05859375, 0.022262....\n```\n\nYou need to run own text-embeddings-inference server. Check [here](https://github.com/huggingface/text-embeddings-inference)\n\n```sh\ndocker run --gpus all -p 8080:80 -v $volume:/data --pull always ghcr.io/huggingface/text-embeddings-inference:0.3.0 --model-id $model --revision\n $revision\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseonglae%2Ftei","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseonglae%2Ftei","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseonglae%2Ftei/lists"}