rag-as-a-service-with-vision icon indicating copy to clipboard operation
rag-as-a-service-with-vision copied to clipboard

Giving custom mhtml in the vision_and_text_sample raw show error

Open Jaiaggarwaaaaal opened this issue 1 year ago • 0 comments

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

pass some other mhtml file from google, and pass the id and question only in the ground_truth.csv regarding that file.

Any log messages given by the failure

passing the mhtml file from my side show error saying ("raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://localhost:8080/rag/upload?rag_config=mhtml-vision-example") in the eval directory terminal and the api directory terminal show the error
"INFO: 127.0.0.1:50536 - "POST /rag/upload?rag_config=mhtml-vision-example HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application".

Expected/desired behavior

it should work correctly with our custom mhtml file also.

OS

macOS

Jaiaggarwaaaaal avatar Sep 09 '24 18:09 Jaiaggarwaaaaal