Skip to content
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

adding embedding support for CLIP based models for VideoRAGQnA #533

Closed

Conversation

srinarayan-srikanthan
Copy link
Collaborator

Description

Add support for CLIP based embeddings for multimodal VideoRAG usecase.

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.
The RFC is under review : opea-project/docs#49

Type of change

List the type of change like below. Please delete options that are not relevant.

  • New feature (non-breaking change which adds new functionality)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
comps/cores/proto/docarray.py 98.95% <100.00%> (+0.01%) ⬆️

... and 1 file with indirect coverage changes

@srinarayan-srikanthan
Copy link
Collaborator Author

@chensuyue can you please tag this PR with 'V0.9' Milestone

srinarayan-srikanthan and others added 13 commits August 20, 2024 20:34
Signed-off-by: srinarayan-srikanthan <[email protected]>
Signed-off-by: srinarayan-srikanthan <[email protected]>
Signed-off-by: srinarayan-srikanthan <[email protected]>
Signed-off-by: srinarayan-srikanthan <[email protected]>
Signed-off-by: srinarayan-srikanthan <[email protected]>
* refine test script of embedding llama_index

Signed-off-by: letonghan <[email protected]>

* update

Signed-off-by: letonghan <[email protected]>

* update code of llm-native

Signed-off-by: letonghan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix llm native issue

Signed-off-by: letonghan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* udpate param & add readme

Signed-off-by: letonghan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: letonghan <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
wangkl2 and others added 24 commits August 20, 2024 20:34
Only one H1 heading (first for the title) allowed.

Signed-off-by: David B. Kinder <[email protected]>
Co-authored-by: chen, suyue <[email protected]>
* update wf

Signed-off-by: chensuyue <[email protected]>

* for test

Signed-off-by: chensuyue <[email protected]>

* remove test code

Signed-off-by: chensuyue <[email protected]>

---------

Signed-off-by: chensuyue <[email protected]>
…punctuation mark location (opea-project#513)

* Revise SpeechT5Model to end the last audio chunk at the correct punctuation mark

Signed-off-by: Chun Tao <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* still append the last chunk if it contains no punctuation

Signed-off-by: Chun Tao <[email protected]>

---------

Signed-off-by: Chun Tao <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* set hf_hub to 0.24.0

* add docgrader to agent strategy openai llm code passed

* add nonstreaming output for agent

* add react langgraph and tests

* fix react langchain bug

Signed-off-by: minmin-intel <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix test script

Signed-off-by: minmin-intel <[email protected]>

* fix bug in test script

Signed-off-by: minmin-intel <[email protected]>

* update readme and rm old agentic-rag strategy

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update test and docgrader readme

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix bug in test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update rag agent strategy name and update readme

Signed-off-by: minmin-intel <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update test

Signed-off-by: minmin-intel <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: minmin-intel <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…pea-project#314)

* Add Retrieval gateway

Signed-off-by: Chendi.Xue <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update gateway to latest protocal

Signed-off-by: Chendi.Xue <[email protected]>

* tested with DocIndexer, rebased gateway is now workable

Signed-off-by: Chendi.Xue <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Chendi.Xue <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* for test.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add func.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* for test.

Signed-off-by: zepan <[email protected]>

* For test2.

Signed-off-by: zepan <[email protected]>

* add function.

Signed-off-by: zepan <[email protected]>

* Modify get matrix.

Signed-off-by: zepan <[email protected]>

* modify get matrix.

Signed-off-by: zepan <[email protected]>

* modify input.

Signed-off-by: zepan <[email protected]>

* Add comps workflow.
Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add node.

Signed-off-by: zepan <[email protected]>

* Add images build.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix issue node.

Signed-off-by: zepan <[email protected]>

* Add images build.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix issue of yaml name.

Signed-off-by: zepan <[email protected]>

* Fix issue of service value.

Signed-off-by: zepan <[email protected]>

* test

Signed-off-by: zepan <[email protected]>

* test

Signed-off-by: zepan <[email protected]>

* restore build Image.

Signed-off-by: zepan <[email protected]>

* modify Build Image.

Signed-off-by: zepan <[email protected]>

* test

Signed-off-by: zepan <[email protected]>

* modify

Signed-off-by: zepan <[email protected]>

* modify call service.

Signed-off-by: zepan <[email protected]>

* Fix issue work_dir

Signed-off-by: zepan <[email protected]>

* Fix issue docker_compose_path

Signed-off-by: zepan <[email protected]>

* Fix tag.

Signed-off-by: zepan <[email protected]>

* Change Work_dir.

Signed-off-by: zepan <[email protected]>

* Change image-build branch

Signed-off-by: zepan <[email protected]>

* Change work_dir.

Signed-off-by: zepan <[email protected]>

* Chaange work_dir and image_build branch

Signed-off-by: zepan <[email protected]>

* Add test-service-compose.

Signed-off-by: zepan <[email protected]>

* Remove Unrelated variables.

Signed-off-by: zepan <[email protected]>

* for test

Signed-off-by: zepan <[email protected]>

* test2

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* for test.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add func.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* for test.

Signed-off-by: zepan <[email protected]>

* For test2.

Signed-off-by: zepan <[email protected]>

* add function.

Signed-off-by: zepan <[email protected]>

* Modify get matrix.

Signed-off-by: zepan <[email protected]>

* modify get matrix.

Signed-off-by: zepan <[email protected]>

* modify input.

Signed-off-by: zepan <[email protected]>

* Add comps workflow.
Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add node.

Signed-off-by: zepan <[email protected]>

* Add images build.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix issue node.

Signed-off-by: zepan <[email protected]>

* Add images build.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix issue of yaml name.

Signed-off-by: zepan <[email protected]>

* Fix issue of service value.

Signed-off-by: zepan <[email protected]>

* test

Signed-off-by: zepan <[email protected]>

* test

Signed-off-by: zepan <[email protected]>

* restore build Image.

Signed-off-by: zepan <[email protected]>

* modify Build Image.

Signed-off-by: zepan <[email protected]>

* test

Signed-off-by: zepan <[email protected]>

* modify

Signed-off-by: zepan <[email protected]>

* modify call service.

Signed-off-by: zepan <[email protected]>

* Fix issue work_dir

Signed-off-by: zepan <[email protected]>

* Fix issue docker_compose_path

Signed-off-by: zepan <[email protected]>

* Fix tag.

Signed-off-by: zepan <[email protected]>

* Change Work_dir.

Signed-off-by: zepan <[email protected]>

* Change image-build branch

Signed-off-by: zepan <[email protected]>

* Change work_dir.

Signed-off-by: zepan <[email protected]>

* Chaange work_dir and image_build branch

Signed-off-by: zepan <[email protected]>

* Add test-service-compose.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Remove Unrelated variables.

Signed-off-by: zepan <[email protected]>

* for test

Signed-off-by: zepan <[email protected]>

* test2

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix issue of run-test not be run.

Signed-off-by: zepan <[email protected]>

* for test

Signed-off-by: zepan <[email protected]>

* Change input.

Signed-off-by: zepan <[email protected]>

* Fix issue of input.service

Signed-off-by: zepan <[email protected]>

* Fix output issue.

Signed-off-by: zepan <[email protected]>

* Fix " issue.

Signed-off-by: zepan <[email protected]>

* Change the trigger method to manual.

Signed-off-by: zepan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix issue of run-test not be run.

Signed-off-by: zepan <[email protected]>

* for test

Signed-off-by: zepan <[email protected]>

* Change input.

Signed-off-by: zepan <[email protected]>

* Fix issue of input.service

Signed-off-by: zepan <[email protected]>

* Fix output issue.

Signed-off-by: zepan <[email protected]>

* Fix " issue.

Signed-off-by: zepan <[email protected]>

* Change the trigger method to manual.

Signed-off-by: zepan <[email protected]>

* Rename yaml.

Signed-off-by: zepan <[email protected]>

---------

Signed-off-by: zepan <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@BaoHuiling
Copy link
Collaborator

BaoHuiling commented Aug 21, 2024

Replaced this PR by #538 to fix DCO error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.