-
Notifications
You must be signed in to change notification settings - Fork 146
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
Add Megaservice support for MMRAG - MultimodalRAGQnAWithVideos usecase #626
Merged
kevinintel
merged 55 commits into
opea-project:main
from
tileintel:mmrag_videos_megaservice-dev
Sep 6, 2024
Merged
Add Megaservice support for MMRAG - MultimodalRAGQnAWithVideos usecase #626
kevinintel
merged 55 commits into
opea-project:main
from
tileintel:mmrag_videos_megaservice-dev
Sep 6, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Tiep Le <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
merge with main
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: sjagtap1803 <[email protected]>
Signed-off-by: sjagtap1803 <[email protected]>
Signed-off-by: sjagtap1803 <[email protected]>
Signed-off-by: sjagtap1803 <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: sjagtap1803 <[email protected]>
Signed-off-by: sjagtap1803 <[email protected]>
Retriever lvm update
Signed-off-by: sjagtap1803 <[email protected]>
for more information, see https://pre-commit.ci
Retriever lvm update
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: sjagtap1803 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
tileintel
requested review from
XuhuiRen,
Spycsh and
lvliang-intel
as code owners
September 5, 2024 18:15
for more information, see https://pre-commit.ci
Retriever lvm update
Codecov ReportAttention: Patch coverage is
|
Signed-off-by: Tiep Le <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Tiep Le <[email protected]>
…eintel/GenAIComps into mmrag_videos_megaservice-dev
Signed-off-by: Tiep Le <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Tiep Le <[email protected]>
…eintel/GenAIComps into mmrag_videos_megaservice-dev
what is the difference with #606? |
lvliang-intel
approved these changes
Sep 6, 2024
kevinintel
approved these changes
Sep 6, 2024
sharanshirodkar7
pushed a commit
to predictionguard/GenAIComps
that referenced
this pull request
Sep 11, 2024
opea-project#626) * updates Signed-off-by: Tiep Le <[email protected]> * cosmetic Signed-off-by: siddhivelankar23 <[email protected]> * update redis schema Signed-off-by: siddhivelankar23 <[email protected]> * update multimodal config and docker compose retriever Signed-off-by: siddhivelankar23 <[email protected]> * update requirements Signed-off-by: siddhivelankar23 <[email protected]> * update retriever redis Signed-off-by: siddhivelankar23 <[email protected]> * multimodal retriever implementation Signed-off-by: siddhivelankar23 <[email protected]> * test for multimodal retriever Signed-off-by: siddhivelankar23 <[email protected]> * include prompt preparation for multimodal rag on videos application Signed-off-by: sjagtap1803 <[email protected]> * fix template Signed-off-by: sjagtap1803 <[email protected]> * add test for llava for mm_rag_on_videos Signed-off-by: sjagtap1803 <[email protected]> * update test Signed-off-by: sjagtap1803 <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * first update on gateaway Signed-off-by: sjagtap1803 <[email protected]> * fix index not found Signed-off-by: sjagtap1803 <[email protected]> * add LVMSearchedMultimodalDoc Signed-off-by: sjagtap1803 <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * implement gateway for MultimodalRagQnAWithVideos Signed-off-by: siddhivelankar23 <[email protected]> * remove INDEX_SCHEMA Signed-off-by: siddhivelankar23 <[email protected]> * update MultimodalRAGQnAWithVideosGateway with 2 megaservices Signed-off-by: sjagtap1803 <[email protected]> * revise folder structure to comps/retrievers/langchain/redis_multimodal Signed-off-by: siddhivelankar23 <[email protected]> * update test Signed-off-by: siddhivelankar23 <[email protected]> * add unittest for multimodalrag_qna_with_videos_gateway Signed-off-by: siddhivelankar23 <[email protected]> * update test mmrag qna with videos Signed-off-by: Tiep Le <[email protected]> * change port of redis to resolve CI test Signed-off-by: siddhivelankar23 <[email protected]> * update test Signed-off-by: siddhivelankar23 <[email protected]> * update lvms test Signed-off-by: siddhivelankar23 <[email protected]> * update test Signed-off-by: siddhivelankar23 <[email protected]> * update test Signed-off-by: siddhivelankar23 <[email protected]> * update test for multimodal rag qna with videos gateway Signed-off-by: siddhivelankar23 <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add more test to increase coverage Signed-off-by: Tiep Le <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * cosmetic Signed-off-by: Tiep Le <[email protected]> * add more test Signed-off-by: Tiep Le <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update name of gateway Signed-off-by: Tiep Le <[email protected]> --------- Signed-off-by: Tiep Le <[email protected]> Signed-off-by: siddhivelankar23 <[email protected]> Signed-off-by: sjagtap1803 <[email protected]> Co-authored-by: siddhivelankar23 <[email protected]> Co-authored-by: sjagtap1803 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sihan Chen <[email protected]>
sharanshirodkar7
pushed a commit
to predictionguard/GenAIComps
that referenced
this pull request
Sep 11, 2024
…opea-project#626) * updates Signed-off-by: Tiep Le <[email protected]> * cosmetic Signed-off-by: siddhivelankar23 <[email protected]> * update redis schema Signed-off-by: siddhivelankar23 <[email protected]> * update multimodal config and docker compose retriever Signed-off-by: siddhivelankar23 <[email protected]> * update requirements Signed-off-by: siddhivelankar23 <[email protected]> * update retriever redis Signed-off-by: siddhivelankar23 <[email protected]> * multimodal retriever implementation Signed-off-by: siddhivelankar23 <[email protected]> * test for multimodal retriever Signed-off-by: siddhivelankar23 <[email protected]> * include prompt preparation for multimodal rag on videos application Signed-off-by: sjagtap1803 <[email protected]> * fix template Signed-off-by: sjagtap1803 <[email protected]> * add test for llava for mm_rag_on_videos Signed-off-by: sjagtap1803 <[email protected]> * update test Signed-off-by: sjagtap1803 <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * first update on gateaway Signed-off-by: sjagtap1803 <[email protected]> * fix index not found Signed-off-by: sjagtap1803 <[email protected]> * add LVMSearchedMultimodalDoc Signed-off-by: sjagtap1803 <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * implement gateway for MultimodalRagQnAWithVideos Signed-off-by: siddhivelankar23 <[email protected]> * remove INDEX_SCHEMA Signed-off-by: siddhivelankar23 <[email protected]> * update MultimodalRAGQnAWithVideosGateway with 2 megaservices Signed-off-by: sjagtap1803 <[email protected]> * revise folder structure to comps/retrievers/langchain/redis_multimodal Signed-off-by: siddhivelankar23 <[email protected]> * update test Signed-off-by: siddhivelankar23 <[email protected]> * add unittest for multimodalrag_qna_with_videos_gateway Signed-off-by: siddhivelankar23 <[email protected]> * update test mmrag qna with videos Signed-off-by: Tiep Le <[email protected]> * change port of redis to resolve CI test Signed-off-by: siddhivelankar23 <[email protected]> * update test Signed-off-by: siddhivelankar23 <[email protected]> * update lvms test Signed-off-by: siddhivelankar23 <[email protected]> * update test Signed-off-by: siddhivelankar23 <[email protected]> * update test Signed-off-by: siddhivelankar23 <[email protected]> * update test for multimodal rag qna with videos gateway Signed-off-by: siddhivelankar23 <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add more test to increase coverage Signed-off-by: Tiep Le <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * cosmetic Signed-off-by: Tiep Le <[email protected]> * add more test Signed-off-by: Tiep Le <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update name of gateway Signed-off-by: Tiep Le <[email protected]> --------- Signed-off-by: Tiep Le <[email protected]> Signed-off-by: siddhivelankar23 <[email protected]> Signed-off-by: sjagtap1803 <[email protected]> Co-authored-by: siddhivelankar23 <[email protected]> Co-authored-by: sjagtap1803 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sihan Chen <[email protected]> Signed-off-by: sharanshirodkar7 <[email protected]>
lkk12014402
pushed a commit
that referenced
this pull request
Sep 19, 2024
Signed-off-by: Yingchun Guo <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add support/gateway for MMRAG MultimodalRAGQnAWithVideos usecase.
The new MultimodalRAGQnAWithVideosGateway is initialized with 2 ServiceOrchestrators. One is to handle MMRAG for the query that requires multimodal retrieval results. The second one is simply LVM ServiceOrchestrator to handle follow-up queries that do not require multimodal retrieval results.
Issues
RFC: https://github.com/opea-project/docs/pull/49/files
Issue: opea-project/GenAIExamples#358
Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
None
Tests
We have provided 7 unittests in tests/cores/mega/test_multimodalrag_qna_with_videos_gateway.py: 2 of them test the two ServiceOrchestrator used in the new gateway, and the other 5 test the new gateway for different different scenarios