llamaindex-retrieval-api
llamaindex-retrieval-api copied to clipboard
Add an HTTPException for the /query endpoint if the engine fails.
In the query.py file add a FastAPI HTTPException if the engine class fails to initialize or something else happens...