From 5b88097aba83790f59ded32c52d527cc56fcb41d Mon Sep 17 00:00:00 2001 From: Fangyin Cheng Date: Fri, 3 Jan 2025 20:09:06 +0800 Subject: [PATCH 1/2] fix(ci): Fix push document image error (#2273) --- .github/workflows/doc-image-publish.yml | 18 +++++++++++++++--- .github/workflows/pylint.yml | 2 +- .github/workflows/test-python.yml | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/doc-image-publish.yml b/.github/workflows/doc-image-publish.yml index a1df2b1950..a2cab654d0 100644 --- a/.github/workflows/doc-image-publish.yml +++ b/.github/workflows/doc-image-publish.yml @@ -6,9 +6,11 @@ on: - main paths: - 'docs/**' + - '.github/workflows/docker-image-publish.yml' pull_request: paths: - 'docs/**' + - '.github/workflows/docker-image-publish.yml' release: types: [published] workflow_dispatch: @@ -36,12 +38,22 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + # Only run when there is a PR + - name: Build PR + if: github.event_name == 'pull_request' + uses: docker/build-push-action@v4 + with: + context: . + file: ./docs/Dockerfile-deploy + platforms: linux/amd64 + push: false + # Only run when it is not a PR, build and push the image - name: Build and push + if: github.event_name != 'pull_request' uses: docker/build-push-action@v4 with: context: . file: ./docs/Dockerfile-deploy platforms: linux/amd64 - # Only push when not in PR - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ github.event_name != 'pull_request' && 'eosphorosai/dbgpt-docs:${{ github.ref_name }},eosphorosai/dbgpt-docs:latest' || '' }} \ No newline at end of file + push: true + tags: eosphorosai/dbgpt-docs:${{ github.ref_name }},eosphorosai/dbgpt-docs:latest \ No newline at end of file diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index aca3bc8064..801c03e4fc 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -9,7 +9,7 @@ on: concurrency: group: ${{ github.event.number || github.run_id }} - cancel-in-progress: true + cancel-in-progress: false jobs: build: diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 43b34179e9..ffc1bab75c 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -18,7 +18,7 @@ on: concurrency: group: ${{ github.event.number || github.run_id }} - cancel-in-progress: true + cancel-in-progress: false #permissions: # contents: read From 56670f00847a2b085d912ecce2280f6a56e11862 Mon Sep 17 00:00:00 2001 From: "magic.chen" Date: Fri, 3 Jan 2025 20:51:25 +0800 Subject: [PATCH 2/2] chore: add disckaimer (#2274) --- DISCKAIMER.md | 20 ++++++++++++++++++++ README.md | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 DISCKAIMER.md diff --git a/DISCKAIMER.md b/DISCKAIMER.md new file mode 100644 index 0000000000..c7ee3e2bf5 --- /dev/null +++ b/DISCKAIMER.md @@ -0,0 +1,20 @@ +# User Agreement and Disclaimer + +1. If you do not agree with any content of this statement, please stop using this software immediately. Once you start using this software product and service, it means that you have agreed to all the contents of this statement + +2. This disclaimer applies to all users of this software. This software reserves the right to modify and update this statement at any time, and notify users in the form of Github Readme, software updates, etc. Please review regularly and abide by the latest disclaimer. + +3. The original design intention of this project is to provide a basic framework/tool ​​set, mainly focusing on RAGs,Agents, AWEL, etc. To keep the project simple and easy to use, we intentionally did not integrate any form of user login, authentication or authorization mechanism. + +4. If you plan to deploy this project into a production environment, it is strongly recommended to connect to existing third-party authentication services (such as OAuth, OpenID Connect, etc.) according to your specific needs, or to develop and maintain a complete set of user management and permissions yourself. control system. + +5. We encourage all developers to follow best practices to keep user data secure, but this is beyond the scope of this project. Therefore, always take appropriate security measures when handling sensitive information. + +6. Users are responsible for the security configuration in their applications, including but not limited to user account management, password policies, access control lists, etc. + +7. The project authors and contributors are not legally responsible for any direct or indirect losses caused by the use of this software. + + +Please read and understand all the contents of this disclaimer carefully before using this software, thank you for your understanding and support. + + diff --git a/README.md b/README.md index 3db8686478..4789da3539 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,11 @@ The purpose is to build infrastructure in the field of large models, through the development of multiple technical capabilities such as multi-model management (SMMF), Text2SQL effect optimization, RAG framework and optimization, Multi-Agents framework collaboration, AWEL (agent workflow orchestration), etc. Which makes large model applications with data simpler and more convenient. - 🚀 **In the Data 3.0 era, based on models and databases, enterprises and developers can build their own bespoke applications with less code.** +### DISCKAIMER +- [disckaimer](./DISCKAIMER.md) + ### AI-Native Data App --- - 🔥🔥🔥 [Released V0.6.0 | A set of significant upgrades](https://docs.dbgpt.cn/docs/changelog/Released_V0.6.0)