Skip to content

Conversation

@RazvanLiviuVarzaru
Copy link
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
Copy link

github-actions bot commented May 7, 2025

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

Copy link
Contributor

Copilot AI left a comment

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

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
Copy link
Collaborator

@lkk12014402 lkk12014402 left a comment

Choose a reason for hiding this comment

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

please resolve the comments

Copy link
Collaborator

@letonghan letonghan left a comment

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

Signed-off-by: Razvan-Liviu Varzaru <razvan@mariadb.org>
@RazvanLiviuVarzaru
Copy link
Contributor Author

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

Copy link
Collaborator

@letonghan letonghan left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@ashahba ashahba left a comment

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>
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.

6 participants