{"id":19967995,"url":"https://github.com/wikp/faiss-rest-api","last_synced_at":"2025-07-18T01:04:12.482Z","repository":{"id":67346768,"uuid":"187430103","full_name":"wikp/faiss-rest-api","owner":"wikp","description":"REST API for facebook's faiss","archived":false,"fork":false,"pushed_at":"2020-04-20T16:35:52.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T13:52:07.362Z","etag":null,"topics":["faiss","rest-api","rust","similarity-search","vector-similarity"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/wikp.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":"2019-05-19T03:36:07.000Z","updated_at":"2020-11-10T12:03:12.000Z","dependencies_parsed_at":"2023-06-10T23:15:38.846Z","dependency_job_id":null,"html_url":"https://github.com/wikp/faiss-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wikp/faiss-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikp%2Ffaiss-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikp%2Ffaiss-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikp%2Ffaiss-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikp%2Ffaiss-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wikp","download_url":"https://codeload.github.com/wikp/faiss-rest-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikp%2Ffaiss-rest-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265686632,"owners_count":23811210,"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":["faiss","rest-api","rust","similarity-search","vector-similarity"],"created_at":"2024-11-13T02:44:14.753Z","updated_at":"2025-07-18T01:04:12.471Z","avatar_url":"https://github.com/wikp.png","language":"Rust","readme":"# faiss-rest-api\n\nREST API for [Faiss][1]. \n\nTo use this, you have to compile [faiss-rs][2] using instructions from the README file. \n\nUsage:\n\n    $ curl -v 'localhost:8000/faiss/search' \\ \n        -H \"Content-type: application/json\" \\\n         -XPOST \\\n         -d '{\"k\": 5, \"vectors\": [[54.7, 0.3, 0.6, 0.4, 0.1, 0.7, 0.2, 0.0, 0.6, 0.5, 0.3, 0.2, 0.1, 0.9, 0.3, 0.6, 0.2, 0.9, 0.5, 0.0, 0.9, 0.1, 0.9, 0.1, 0.5, 0.5, 0.8, 0.8, 0.5, 0.2, 0.6, 0.2, 0.2, 0.7, 0.1, 0.7, 0.8, 0.2, 0.9, 0.0, 0.4, 0.4, 0.9, 0.0, 0.6, 0.4, 0.4, 0.6, 0.6, 0.2, 0.5, 0.0, 0.1, 0.6, 0.0, 0.0, 0.4, 0.7, 0.5, 0.7, 0.2, 0.5, 0.5, 0.7], [54.7, 0.3, 0.6, 0.4, 0.1, 0.7, 0.2, 0.0, 0.6, 0.5, 0.3, 0.2, 0.1, 0.9, 0.3, 0.6, 0.2, 0.9, 0.5, 0.0, 0.9, 0.1, 0.9, 0.1, 0.5, 0.5, 0.8, 0.8, 0.5, 0.2, 0.6, 0.2, 0.2, 0.7, 0.1, 0.7, 0.8, 0.2, 0.9, 0.0, 0.4, 0.4, 0.9, 0.0, 0.6, 0.4, 0.4, 0.6, 0.6, 0.2, 0.5, 0.0, 0.1, 0.6, 0.0, 0.0, 0.4, 0.7, 0.5, 0.7, 0.1, 0.3, 0.5]]}'\n    *   Trying ::1...\n    * TCP_NODELAY set\n    * Connection failed\n    * connect to ::1 port 8000 failed: Connection refused\n    *   Trying 127.0.0.1...\n    * TCP_NODELAY set\n    * Connected to localhost (127.0.0.1) port 8000 (#0)\n    \u003e POST /faiss/search HTTP/1.1\n    \u003e Host: localhost:8000\n    \u003e User-Agent: curl/7.54.0\n    \u003e Accept: */*\n    \u003e Content-type: application/json\n    \u003e Content-Length: 344\n    \u003e\n    * upload completely sent off: 344 out of 344 bytes\n    \u003c HTTP/1.1 200 OK\n    \u003c Content-Type: application/json\n    \u003c Server: Rocket\n    \u003c Content-Length: 1209\n    \u003c Date: Sun, 19 May 2019 04:06:16 GMT\n    \u003c\n    * Connection #0 to host localhost left intact\n    [{\"neighbors\":[{\"id\":54104,\"score\":0.22991317510604858},{\"id\":53227,\"score\":6.515602111816406},{\"id\":54408,\"score\":6.633026599884033},{\"id\":54800,\"score\":6.759259223937988},{\"id\":54102,\"score\":6.813137054443359}],\"vector\":[54.70000076293945,0.30000001192092896,0.6000000238418579,0.4000000059604645,0.10000000149011612,0.699999988079071,0.20000000298023224,0.0,0.6000000238418579,0.5,0.30000001192092896,0.20000000298023224,0.10000000149011612,0.8999999761581421,0.30000001192092896,0.6000000238418579,0.20000000298023224,0.8999999761581421,0.5,0.0,0.8999999761581421,0.10000000149011612,0.8999999761581421,0.10000000149011612,0.5,0.5,0.800000011920929,0.800000011920929,0.5,0.20000000298023224,0.6000000238418579,0.20000000298023224,0.20000000298023224,0.699999988079071,0.10000000149011612,0.699999988079071,0.800000011920929,0.20000000298023224,0.8999999761581421,0.0,0.4000000059604645,0.4000000059604645,0.8999999761581421,0.0,0.6000000238418579,0.4000000059604645,0.4000000059604645,0.6000000238418579,0.6000000238418579,0.20000000298023224,0.5,0.0,0.10000000149011612,0.6000000238418579,0.0,0.0,0.4000000059604645,0.699999988079071,0.5,0.699999988079071,0.20000000298023224,0.5,0.5,0.699999988079071]}]\n\n[1]: https://github.com/facebookresearch/faiss\n[2]: https://github.com/Enet4/faiss-rs","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikp%2Ffaiss-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwikp%2Ffaiss-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikp%2Ffaiss-rest-api/lists"}