Skip to content

Add ChatQnA docker-compose example on Intel Xeon using MariaDB Vector#1916

Merged
ashahba merged 4 commits into
opea-project:mainfrom
RazvanLiviuVarzaru:feature/mariadb-vector-xeon
May 9, 2025
Merged

Add ChatQnA docker-compose example on Intel Xeon using MariaDB Vector#1916
ashahba merged 4 commits into
opea-project:mainfrom
RazvanLiviuVarzaru:feature/mariadb-vector-xeon

Conversation

@RazvanLiviuVarzaru

Copy link
Copy Markdown
Contributor

Description

Add ChatQnA docker-compose example on Intel Xeon using MariaDB Vector

Issues

n/a

Type of change

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

Dependencies

n/a

Tests

Set the HF API token environment variable and:

cd ChatQnA/tests
bash test_compose_mariadb_on_xeon.sh

Copilot AI review requested due to automatic review settings May 7, 2025 13:03
@github-actions

github-actions Bot commented May 7, 2025

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new docker-compose example to deploy the ChatQnA application on Intel Xeon systems using MariaDB Vector. Key changes include the addition of a new YAML configuration for deploying multiple microservices and an accompanying README detailing the deployment and testing instructions.

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.

File Description
ChatQnA/docker_compose/intel/cpu/xeon/compose_mariadb.yaml New docker-compose configuration detailing service definitions, healthcheck commands, and environment variables for deploying ChatQnA with MariaDB Vector.
ChatQnA/docker_compose/intel/cpu/xeon/README_mariadb.md New documentation outlining the build process, configuration, and deployment instructions for the ChatQnA application on Intel Xeon.
Files not reviewed (2)
  • ChatQnA/docker_compose/intel/cpu/xeon/set_env_mariadb.sh: Language not supported
  • ChatQnA/tests/test_compose_mariadb_on_xeon.sh: Language not supported

Comment thread ChatQnA/docker_compose/intel/cpu/xeon/compose_mariadb.yaml
Comment thread ChatQnA/docker_compose/intel/cpu/xeon/README_mariadb.md Outdated
Example on how to deploy the ChatBot on Intel Xeon by using MariaDB Server as a vectorstore.
- use MariaDB Server as the backend database. Minimum required version is 11.7
- use the OPEA_DATAPREP_MARIADBVECTOR component for dataprep microservice
- use the OPEA_RETRIEVER_MARIADBVECTOR component for retriever microservice

How to test
Set the HF API token environment variable and:
```
cd ChatQnA/tests
bash test_compose_mariadb_on_xeon.sh
```

Signed-off-by: Razvan-Liviu Varzaru <razvan@mariadb.org>
@RazvanLiviuVarzaru RazvanLiviuVarzaru force-pushed the feature/mariadb-vector-xeon branch from e092a1d to b0cf593 Compare May 7, 2025 13:18
Comment thread ChatQnA/docker_compose/intel/cpu/xeon/README_mariadb.md Outdated
Comment thread ChatQnA/docker_compose/intel/cpu/xeon/README_mariadb.md Outdated
Comment thread ChatQnA/docker_compose/intel/cpu/xeon/README_mariadb.md Outdated
Comment thread ChatQnA/docker_compose/intel/cpu/xeon/README_mariadb.md Outdated
Comment thread ChatQnA/docker_compose/intel/cpu/xeon/set_env_mariadb.sh

@lkk12014402 lkk12014402 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please resolve the comments

Comment thread ChatQnA/docker_compose/intel/cpu/xeon/README_mariadb.md

@letonghan letonghan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @RazvanLiviuVarzaru for your contributions! Please check the comments below

Comment thread ChatQnA/docker_compose/intel/cpu/xeon/compose_mariadb.yaml Outdated
Comment thread ChatQnA/docker_compose/intel/cpu/xeon/compose_mariadb.yaml Outdated
Signed-off-by: Razvan-Liviu Varzaru <razvan@mariadb.org>
@RazvanLiviuVarzaru

Copy link
Copy Markdown
Contributor Author

Thank you for the comments!
@ashahba / @letonghan , review comments addressed in: 1f84e0d

@letonghan letonghan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@ashahba ashahba left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@ashahba ashahba merged commit ebb7c24 into opea-project:main May 9, 2025
15 checks passed
letonghan pushed a commit that referenced this pull request Sep 17, 2025
* Porting the data store layers of components to OpeaStore.
* Decoupling user-defined data structure from data access layer of MongoDB.
* Adding OpeaStore tools
* Add search by KV API
* Update READMEs

---------

Signed-off-by: Yi Yao <yi.a.yao@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
cogniware-devops pushed a commit to Cogniware-Inc/GenAIExamples that referenced this pull request Dec 19, 2025
…opea-project#1916)

Signed-off-by: Razvan-Liviu Varzaru <razvan@mariadb.org>
Co-authored-by: Liang Lv <liang1.lv@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: cogniware-devops <ambarish.desai@cogniware.ai>
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.

7 participants