{"id":19840480,"url":"https://github.com/ddangelov/restful-top2vec","last_synced_at":"2025-05-01T19:30:41.962Z","repository":{"id":40963960,"uuid":"257061851","full_name":"ddangelov/RESTful-Top2Vec","owner":"ddangelov","description":"Expose a Top2Vec model with a REST API.","archived":false,"fork":false,"pushed_at":"2022-12-08T04:03:13.000Z","size":249,"stargazers_count":89,"open_issues_count":14,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T17:06:38.352Z","etag":null,"topics":["document-embedding","fastapi","rest-api","restful-api","semantic-search","semantic-search-engine","text-search","text-similarity","top2vec","topic-model","topic-modeling","word-embedding"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddangelov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-19T17:32:53.000Z","updated_at":"2025-01-09T03:04:12.000Z","dependencies_parsed_at":"2023-01-24T09:45:53.718Z","dependency_job_id":null,"html_url":"https://github.com/ddangelov/RESTful-Top2Vec","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/ddangelov%2FRESTful-Top2Vec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddangelov%2FRESTful-Top2Vec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddangelov%2FRESTful-Top2Vec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddangelov%2FRESTful-Top2Vec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddangelov","download_url":"https://codeload.github.com/ddangelov/RESTful-Top2Vec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251932565,"owners_count":21667168,"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":["document-embedding","fastapi","rest-api","restful-api","semantic-search","semantic-search-engine","text-search","text-similarity","top2vec","topic-model","topic-modeling","word-embedding"],"created_at":"2024-11-12T12:27:05.828Z","updated_at":"2025-05-01T19:30:41.597Z","avatar_url":"https://github.com/ddangelov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/docker/v/ddangelov/restful-top2vec?label=docker)](https://hub.docker.com/r/ddangelov/restful-top2vec)\n[![](https://img.shields.io/pypi/l/top2vec.svg)](https://github.com/ddangelov/RESTful-Top2Vec/blob/master/LICENSE)\n[![](https://readthedocs.org/projects/restful-top2vec/badge/?version=latest)](https://restful-top2vec.readthedocs.io/en/latest/?badge=latest)\n\n\nTop2Vec Model REST API\n======================\n\nExpose a trained and saved [Top2Vec](https://github.com/ddangelov/Top2Vec) model with a REST API.\n\nGet Docker Image\n------------\n```bash\ndocker pull ddangelov/restful-top2vec\n```\n\nRun Container \n-------------\n\nDocker Run Arguments:\n\n  * ``model_path``: Path to a saved Top2Vec model.\n  * ``model_name``: Name of Top2Vec model. (Should not contain spaces.)\n  \n```bash\nexport model_path=\"/path_to_top2vec_model\"\nexport model_name=\"model_name\"\n\ndocker run -v $model_path:/app/top2vec_model -e model_name=$model_name -d --name $model_name -p 80:80 ddangelov/restful-top2vec\n```\n\nDocumentation\n-------------\n\nGo to \u003chttp://localhost:80/docs\u003e\n\n![](https://raw.githubusercontent.com/ddangelov/RESTful-Top2Vec/master/images/restful-top2vec.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddangelov%2Frestful-top2vec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddangelov%2Frestful-top2vec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddangelov%2Frestful-top2vec/lists"}