Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

faiss-proxy

A http proxy for faiss-server.

build

sh build.sh

run

./faiss_proxy

Restful APIs

/faiss/1.0/ping
/faiss/1.0/db/new
/faiss/1.0/db/del
/faiss/1.0/db/list
/faiss/1.0/hset
/faiss/1.0/hdel
/faiss/1.0/hget
/faiss/1.0/hsearch

Example

curl -X POST -k http://localhost:3839/faiss/1.0/db/new -d '{"db_name":"1000w", "max_size":10000000}'

Tips

Faiss-proxy should run with faiss-server. There's some configs for faiss-proxy, to see them just run ./faiss_proxy --help. Parameter -faiss_endpoint is the endpoint of faiss-server.

About

faiss-proxy convert gRPC to HTTP protocol on top of faiss-server.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages