defenseunicorns / leapfrogai-backend-rag

Apache License 2.0
4 stars 1 forks source link

feat: upstream health and request statuses #54

Open justinthelaw opened 8 months ago

justinthelaw commented 8 months ago

At the moment, the RAG API does not provide proper feedback on the upload of the file to an embedding endpoint/backend via an OpenAI API compliant server. This results in the user thinking a file was uploaded successfully when it could have failed silently in the background. The RAG API also doesn't check and gracefully handle the upstream health, or lack thereof, of the Open AI API compliant server. These issues result in the need for 2 succinct, but highly connected mini-features: