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

PGvector service #86

Merged
merged 42 commits into from
Jun 5, 2024
Merged

PGvector service #86

merged 42 commits into from
Jun 5, 2024

Conversation

ganesanintel
Copy link
Collaborator

Description

The summary of the proposed changes as long as the relevant motivation and context.

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

zhlsunshine and others added 27 commits June 3, 2024 20:51
…pea-project#69)

* embedding model should be consistent both for ingestion and redis retriever

Signed-off-by: zhlsunshine <huailong.zhang@intel.com>

* fix the DOC.

Signed-off-by: zhlsunshine <huailong.zhang@intel.com>

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

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

* add comments for changes.

Signed-off-by: zhlsunshine <huailong.zhang@intel.com>

* add comments for changes.

Signed-off-by: zhlsunshine <huailong.zhang@intel.com>

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

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

* add comments for changes.

Signed-off-by: zhlsunshine <huailong.zhang@intel.com>

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

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

---------

Signed-off-by: zhlsunshine <huailong.zhang@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: Abolfazl Shahbazi <abolfazl.shahbazi@intel.com>
Co-authored-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: tylertitsworth <tyler.titsworth@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* added readmes for dataprep and vectorstores.

---------

Signed-off-by: Ye, Xinyu <xinyu.ye@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: chensuyue <suyue.chen@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: V, Ganesan <ganean.v@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
for more information, see https://pre-commit.ci

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* Refactor llms code structure

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

---------

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: V, Ganesan <ganean.v@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
for more information, see https://pre-commit.ci

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* update benchmark with langsmith

Signed-off-by: letonghan <letong.han@intel.com>

---------

Signed-off-by: letonghan <letong.han@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* added LlamaGuard2 support

Signed-off-by: Tyler Wilbers <tyler.wilbers@intel.com>

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

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

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

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

---------

Signed-off-by: Tyler Wilbers <tyler.wilbers@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lvliang-intel <liang1.lv@intel.com>

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
…t#93)

* added more file formats support.

Signed-off-by: Ye, Xinyu <xinyu.ye@intel.com>


---------

Signed-off-by: Ye, Xinyu <xinyu.ye@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: Wang, Xigui <xigui.wang@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: Wang, Xigui <xigui.wang@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
Co-authored-by: Sihan Chen <39623753+Spycsh@users.noreply.github.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* Update README.md

* Update README.md

Signed-off-by: preethivenkatesh <preethi.venkatesh@intel.com>

* Update README.md

Signed-off-by: preethivenkatesh <preethi.venkatesh@intel.com>

* Update retrieve and reranking README.md (opea-project#101)

Signed-off-by: Wang, Xigui <xigui.wang@intel.com>
Signed-off-by: preethivenkatesh <preethi.venkatesh@intel.com>

* update docker image name in readme (opea-project#99)

Signed-off-by: letonghan <letong.han@intel.com>
Co-authored-by: Sihan Chen <39623753+Spycsh@users.noreply.github.com>
Signed-off-by: preethivenkatesh <preethi.venkatesh@intel.com>

---------

Signed-off-by: preethivenkatesh <preethi.venkatesh@intel.com>
Signed-off-by: Wang, Xigui <xigui.wang@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
Co-authored-by: xiguiw <111278656+xiguiw@users.noreply.github.com>
Co-authored-by: Letong Han <106566639+letonghan@users.noreply.github.com>
Co-authored-by: Sihan Chen <39623753+Spycsh@users.noreply.github.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: arthw <14088817+arthw@users.noreply.github.com>
Co-authored-by: arthw <14088817+arthw@users.noreply.github.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* Refine gateway API

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

* refine user message handling

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

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

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

* fix ci issue

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

* fix issues

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

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

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

---------

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Letong Han <106566639+letonghan@users.noreply.github.com>

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* Update workflow test script

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

* fix parameter

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

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

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

* fix role setting

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

---------

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: chensuyue <suyue.chen@intel.com>
Signed-off-by: Spycsh <sihan.chen@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
yao531441 and others added 13 commits June 3, 2024 20:51
* Llama3 and Phi3 validation results update

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* refine the vllm microservice

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

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

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

* rename the rayllm to ray_serve

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refactor the ray service code structure

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refine the vllm and readme

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* update the readme with correct ray service name

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* update the readme

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refine the readme

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

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

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

---------

Signed-off-by: tianyil1 <tianyi.liu@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: Tyler Wilbers <tyler.wilbers@intel.com>
Co-authored-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: zehao-intel <zehao.huang@intel.com>
Co-authored-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* initially add the ray microservice

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refine the ray_serve dockerfile without the host network

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* rename the overlapped name

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refine the readme and script

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refine the readme and api_server_openai with the correct format

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refine the llm response

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refine the readme

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refine the readme

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

* refine the readme

Signed-off-by: tianyil1 <tianyi.liu@intel.com>

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

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

---------

Signed-off-by: tianyil1 <tianyi.liu@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: chensuyue <suyue.chen@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: chensuyue <suyue.chen@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* Update TF token environment variable

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

* add token

Signed-off-by: lvliang-intel <liang1.lv@intel.com>

---------

Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: V, Ganesan <ganesan.v@intel.com>
* aio scheduler

* fix test

Signed-off-by: Spycsh <sihan.chen@intel.com>

* ix req

* fix streaming

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

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

* fix

---------

Signed-off-by: Spycsh <sihan.chen@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
@hshen14 hshen14 merged commit 1b70010 into opea-project:main Jun 5, 2024
6 checks passed
@chensuyue
Copy link
Collaborator

Please contribute an e2e test for this microservice, like this one: https://github.com/opea-project/GenAIComps/blob/main/tests/test_reranks.sh, please name it as test_vectorstores.sh.

hshen14 added a commit that referenced this pull request Jun 5, 2024
@@ -0,0 +1,13 @@
# Copyright (c) 2024 Intel Corporation
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This license header is out of date, please leave it empty (the bot will add it automatically) or add the new one,

Copyright (C) 2024 Intel Corporation   
SPDX-License-Identifier: Apache-2.0   

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in #201

## 1. Download Pgvector image

```bash
docker pull pgvector/pgvector:0.7.0-pg16
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be part of the BoM list, please fill in.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

XinyuYe-Intel pushed a commit that referenced this pull request Jun 17, 2024
* Support PGvector service

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
@ganesanintel
Copy link
Collaborator Author

Please contribute an e2e test for this microservice, like this one: https://github.com/opea-project/GenAIComps/blob/main/tests/test_reranks.sh, please name it as test_vectorstores.sh.

Done. Added a testcase in #201.

gadmarkovits pushed a commit to gadmarkovits/GenAIComps that referenced this pull request Jun 19, 2024
* Support PGvector service

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: gadmarkovits <gad.markovits@intel.com>
kevinintel pushed a commit that referenced this pull request Jul 9, 2024
* PGvector service (#86)

* Support PGvector service

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: gadmarkovits <gad.markovits@intel.com>
yogeshmpandey pushed a commit to yogeshmpandey/GenAIComps that referenced this pull request Jul 10, 2024
* PGvector service (opea-project#86)

* Support PGvector service

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: gadmarkovits <gad.markovits@intel.com>
Signed-off-by: Yogesh Pandey <yogesh.pandey@intel.com>
dwhitena pushed a commit to predictionguard/GenAIComps that referenced this pull request Jul 24, 2024
* PGvector service (opea-project#86)

* Support PGvector service

Signed-off-by: V, Ganesan <ganesan.v@intel.com>
Signed-off-by: gadmarkovits <gad.markovits@intel.com>
Signed-off-by: Daniel Whitenack <whitenack.daniel@gmail.com>
lkk12014402 pushed a commit that referenced this pull request Aug 8, 2024
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
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.