-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MultimodalQnA image query, pdf, dynamic ports, and UI updates #1381
base: main
Are you sure you want to change the base?
Conversation
* Add var for LVM model Signed-off-by: dmsuehir <[email protected]> * README updates and tests Signed-off-by: dmsuehir <[email protected]> * Build, compose, and doc updates for audio query (#12) Signed-off-by: okhleif-IL <[email protected]> * validated, updated tests Signed-off-by: okhleif-IL <[email protected]> * added one more curl test for audio Signed-off-by: okhleif-IL <[email protected]> * fixed typo Signed-off-by: okhleif-IL <[email protected]> * reverted git clone command Signed-off-by: okhleif-IL <[email protected]> * added ASR test Signed-off-by: okhleif-IL <[email protected]> * fixed command with backslashes Signed-off-by: okhleif-IL <[email protected]> --------- Signed-off-by: Melanie Buehler <[email protected]> Signed-off-by: okhleif-IL <[email protected]> Signed-off-by: dmsuehir <[email protected]> * MMQnA doc update correcting ASR and whisper image names (#24) * MMQnA doc update correcting ASR and whisper image names Signed-off-by: dmsuehir <[email protected]> * Add image tags Signed-off-by: dmsuehir <[email protected]> --------- Signed-off-by: dmsuehir <[email protected]> * Integrate audio query into UI (#22) * Enabled audio query functionality in the MultimodalQnA UI Signed-off-by: Melanie Buehler <[email protected]> * Temporarily redirect clones for tests Signed-off-by: Melanie Buehler <[email protected]> * Doc update and set MAX_IMAGES to default to 1 in compose.yaml Signed-off-by: dmsuehir <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * README update to add a note about MAX_IMAGES Signed-off-by: dmsuehir <[email protected]> * Add services to tests and correct small text error (#26) * Add services to tests and correct small text error Signed-off-by: Melanie Buehler <[email protected]> * Revert unintended changes Signed-off-by: Melanie Buehler <[email protected]> --------- Signed-off-by: Melanie Buehler <[email protected]> * Fixed build.yaml inconsistency Signed-off-by: Melanie Buehler <[email protected]> * Moving note about MAX_IMAGES due to review feedback: Signed-off-by: dmsuehir <[email protected]> * Update repo clones for E2E tests Signed-off-by: Melanie Buehler <[email protected]> * Moved Audio Query Gateway changes to multimodalqna.py (#29) * Moved gateway changes to multimodalqna.py Signed-off-by: okhleif-IL <[email protected]> * reverted port changes Signed-off-by: okhleif-IL <[email protected]> * addressed review comments Signed-off-by: okhleif-IL <[email protected]> * reverted print statement Signed-off-by: okhleif-IL <[email protected]> --------- Signed-off-by: okhleif-IL <[email protected]> * Removed proxies arg from translation request (#31) * Moved gateway changes to multimodalqna.py Signed-off-by: okhleif-IL <[email protected]> * reverted port changes Signed-off-by: okhleif-IL <[email protected]> * addressed review comments Signed-off-by: okhleif-IL <[email protected]> * reverted print statement Signed-off-by: okhleif-IL <[email protected]> * removed proxies Signed-off-by: okhleif-IL <[email protected]> --------- Signed-off-by: okhleif-IL <[email protected]> * Add MAX_IMAGES to docs Signed-off-by: dmsuehir <[email protected]> * Moved gateway updates for image query to GenAIExamples Signed-off-by: dmsuehir <[email protected]> * Fix initial input format for TextImageDoc Signed-off-by: dmsuehir <[email protected]> * Fix merge conflict Signed-off-by: dmsuehir <[email protected]> * Fix merge conflict Signed-off-by: dmsuehir <[email protected]> * Add Gaudi tests Signed-off-by: dmsuehir <[email protected]> * Temporary update to use dev branch for test Signed-off-by: dmsuehir <[email protected]> * Temporary change for dockerfile to use dev fork/branch for GenAIComps Signed-off-by: dmsuehir <[email protected]> --------- Signed-off-by: dmsuehir <[email protected]> Signed-off-by: Melanie Buehler <[email protected]> Signed-off-by: okhleif-IL <[email protected]> Co-authored-by: Omar Khleif <[email protected]> Co-authored-by: Melanie Hart Buehler <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Abolfazl Shahbazi <[email protected]>
…image-query Signed-off-by: dmsuehir <[email protected]>
Signed-off-by: Harsha Ramayanam <[email protected]>
* Adds dynamic wait to MMQnA tests Signed-off-by: Melanie Buehler <[email protected]> * Fix for empty grep result Signed-off-by: Melanie Buehler <[email protected]> * Adjusted test for gaudi Signed-off-by: Melanie Buehler <[email protected]> * Fixed for Gaudi service check Signed-off-by: Melanie Buehler <[email protected]> * Added warning to check_service_ready function Signed-off-by: Melanie Buehler <[email protected]> --------- Signed-off-by: Melanie Buehler <[email protected]>
Signed-off-by: dmsuehir <[email protected]>
Signed-off-by: Melanie Buehler <[email protected]>
* refactored compose and set env files Signed-off-by: okhleif-IL <[email protected]> * updated readmes Signed-off-by: okhleif-IL <[email protected]> * addressed review comments Signed-off-by: okhleif-IL <[email protected]> * added env vars to compose env Signed-off-by: okhleif-IL <[email protected]> * reverted port numbers back to defaults Signed-off-by: okhleif-IL <[email protected]> --------- Signed-off-by: okhleif-IL <[email protected]>
Signed-off-by: Harsha Ramayanam <[email protected]>
Added fix for video upload format
* Add caption to chat history Signed-off-by: Melanie Buehler <[email protected]> * Fixed some issues with conversation history Signed-off-by: Melanie Buehler <[email protected]> --------- Signed-off-by: Melanie Buehler <[email protected]>
* Initial implementation for PDF upload Signed-off-by: Melanie Buehler <[email protected]> * Make temp pdf from response Signed-off-by: Melanie Buehler <[email protected]> * Adds PDF display functionality to MMQnA UI with gradio_pdf Signed-off-by: Melanie Buehler <[email protected]> * Update tests and docs for PDF support Signed-off-by: Melanie Buehler <[email protected]> * Updated per review suggestions Signed-off-by: Melanie Buehler <[email protected]> * Fixed two more pdf references Signed-off-by: Melanie Buehler <[email protected]> --------- Signed-off-by: Melanie Buehler <[email protected]>
Signed-off-by: okhleif-IL <[email protected]>
…IExamples into mmqna-image-query
Signed-off-by: okhleif-IL <[email protected]>
* fix whisper_server_port issue Signed-off-by: okhleif-IL <[email protected]> * removed unneeded line Signed-off-by: okhleif-IL <[email protected]> * fix for megaservice curls Signed-off-by: okhleif-IL <[email protected]> * removed v1/encode and reverted accidental change Signed-off-by: okhleif-IL <[email protected]> --------- Signed-off-by: okhleif-IL <[email protected]>
Signed-off-by: Harsha Ramayanam <[email protected]>
Dependency Review✅ No vulnerabilities or license issues found.Scanned Files
|
@@ -13,7 +13,8 @@ RUN useradd -m -s /bin/bash user && \ | |||
chown -R user /home/user/ | |||
|
|||
WORKDIR /home/user/ | |||
RUN git clone https://github.com/opea-project/GenAIComps.git | |||
#RUN git clone https://github.com/opea-project/GenAIComps.git | |||
RUN git clone https://github.com/mhbuehler/GenAIComps.git --single-branch --branch mmqna-image-query |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be reverted before merge.
|
||
function build_docker_images() { | ||
cd $WORKPATH/docker_image_build | ||
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../ | ||
git clone https://github.com/mhbuehler/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"mmqna-image-query"}" && cd ../ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be reverted before merge.
|
||
function build_docker_images() { | ||
cd $WORKPATH/docker_image_build | ||
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../ | ||
git clone https://github.com/mhbuehler/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"mmqna-image-query"}" && cd ../ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be reverted before merge.
Signed-off-by: dmsuehir <[email protected]>
Description
Per the proposed changes in this RFC's Phase 2 plan, this PR adds support for image queries, PDF ingestion and display, and dynamic ports. There are also some bug fixes. This PR goes with this one in GenAIComps.
Issues
RFC
Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
gradio-pdf is a new dependency
Tests
New tests were added to: