Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

v2.0.0_azureopenai

Compare
Choose a tag to compare
@ginic ginic released this 13 Aug 21:21

A copy of the code that works with Azure OpenAI, rather than the OpenAI client. To use this set the "AZURE_OPENAI_API_KEY" and "AZURE_OPENAI_ENDPOINT" environment variables.

[2.0.0] - 2024-08-13

Added

  • Merged the MSF-OCR-Streamlit repository into this repository
  • User authenticates with DHIS2 password rather than hard coded passkey
  • Table headers are corrected based on key-value pairs from DHIS2
  • Payload with key-value pairs for DHIS2 is displayed to the user before uploading
  • Images are resized before being sent to OpenAI
  • Added all UI features such as DHIS2 authentication, multiple tally sheet processing, left bar on streamlit, buttons present in
    LLM version of app into docTR version.

Changed

  • User must confirm each page and key-value pairs before they're allowed to upload, so upload buttons is not initially selectable

Fixed

  • Bug where a user's changes aren't saved every other time or when confirming in the Streamlit app