llamaindex-retrieval-api icon indicating copy to clipboard operation
llamaindex-retrieval-api copied to clipboard

Add an HTTPException for the /query endpoint if the engine fails.

Open Haste171 opened this issue 1 year ago • 1 comments

In the query.py file add a FastAPI HTTPException if the engine class fails to initialize or something else happens...

Haste171 avatar Jan 13 '24 03:01 Haste171

Sweeping

40%

🔎 Searching

I'm searching for relevant snippets in your repository.

Code Snippets Found

https://github.com/Haste171/llamaindex-retrieval-api/blob/9cd5c37e745e52e3b1eba66d885992d34be0be64/routers/loaders/pdf.py#L0-L24

https://github.com/Haste171/llamaindex-retrieval-api/blob/9cd5c37e745e52e3b1eba66d885992d34be0be64/LICENSE#L0-L15

https://github.com/Haste171/llamaindex-retrieval-api/blob/9cd5c37e745e52e3b1eba66d885992d34be0be64/LICENSE#L15-L30

https://github.com/Haste171/llamaindex-retrieval-api/blob/9cd5c37e745e52e3b1eba66d885992d34be0be64/routers/loaders/ipynb.py#L0-L25

https://github.com/Haste171/llamaindex-retrieval-api/blob/9cd5c37e745e52e3b1eba66d885992d34be0be64/README.md#L0-L15

Haste171 avatar Jan 13 '24 03:01 Haste171