Gene-Weaver / VoucherVision

Initiated by the University of Michigan Herbarium, VoucherVision harnesses the power of large language models (LLMs) to transform the transcription process of natural history specimen labels.
https://huggingface.co/spaces/phyloforfun/VoucherVision
GNU General Public License v3.0
17 stars 4 forks source link

Test to confirm operation of individual APIs #1

Closed jbest closed 11 months ago

jbest commented 11 months ago

It took me multiple tries to get my Google API to work because I wasn't looking closely at the terminal output when running the default "Test PaLM2" process. The only feedback in the GUI was that the tests failed. Once I looked at the terminal output, I saw first that I needed to enable Google Cloud Vision on the project I had created. Then I saw that I needed to enable billing on that project. It would be helpful if the API Keys configuration page had a Test button for each API so that could be clicked to confirm the API key was set up correctly and the access, billing, etc. was all functioning. Bonus would be to report specific errors in the GUI because in error message in the terminal there was a URL directly to the project and billing pages I needed to go to in order to fix the problems.

Gene-Weaver commented 11 months ago

Great feedback. I'll write some tests that show up on the API Keys configuration page to make things more unified.

Gene-Weaver commented 11 months ago

Added individual tests for all API keys on the setup page. Note - the Google Vision OCR key still must be added first.