LlamaEdge / rag-api-server

A RAG API server written in Rust following OpenAI specs
https://llamaedge.com/docs/user-guide/server-side-rag/quick-start
Apache License 2.0
31 stars 8 forks source link

Basic check for qdrant existence #10

Closed suryyyansh closed 2 months ago

suryyyansh commented 6 months ago

Currently, there is no check for whether the qdrant service is running when running the server. This PR adds a simple check to prevent the server from running without an active service at the specified qdrant port and address.

suryyyansh commented 6 months ago

@apepkuss @alabulei1 Please review this PR and let me know if anything needs changing.

suryyyansh commented 6 months ago

I don't understand? Why is the build failing?

apepkuss commented 6 months ago

Try the following two commands to see if there's any error/warning in your code:

cargo +nightly fmt --all -- --check
cargo +nightly clippy --target wasm32-wasi -- -D warnings
suryyyansh commented 6 months ago

@apepkuss Fixed them! I had no idea we were using clippy.

apepkuss commented 5 months ago

@suryyyansh Please resolve the conflicts. Thanks!

suryyyansh commented 5 months ago

@apepkuss Please review the changes.

The force pushes were because I accidentally merged my search-api branch.