DB-GPT/web
Dreammy23 f273cb4152
fix: Eslint formatting (#1987)
# Description

Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

# Snapshots:

Include snapshots for easier review.

# Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have already rebased the commits and make the commit message
conform to the project standard.
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-09-09 20:33:01 +08:00
..
app feat(web): Unified frontend code style (#1923) 2024-08-30 14:03:06 +08:00
client/api Merge branch 'feat/sprint-flow-remaining-requirements' into feat/sprint-flow2.0 2024-09-05 02:11:38 +08:00
components fix: Eslint formatting (#1987) 2024-09-09 20:33:01 +08:00
hooks feat(web): Unified frontend code style (#1923) 2024-08-30 14:03:06 +08:00
lib feat(web): Unified frontend code style (#1923) 2024-08-30 14:03:06 +08:00
locales Update flow.ts 2024-09-09 11:41:57 +08:00
new-components Merge branch 'main' into chore/merge-main 2024-09-05 09:45:27 +08:00
pages Merge branch 'main' into chore/merge-main 2024-09-05 09:45:27 +08:00
public feat: web update (#1860) 2024-08-22 11:05:18 +08:00
styles Update globals.css 2024-09-04 18:19:20 +08:00
types refactor: Update AddFlowVariableModal to use buildVariableString from utils/flow 2024-09-05 01:03:02 +08:00
utils Merge branch 'main' into chore/merge-main 2024-09-05 09:45:27 +08:00
.eslintignore feat(web): Unified frontend code style (#1923) 2024-08-30 14:03:06 +08:00
.eslintrc.js feat(web): Unified frontend code style (#1923) 2024-08-30 14:03:06 +08:00
.prettierignore feat(web): Unified frontend code style (#1923) 2024-08-30 14:03:06 +08:00
.prettierrc.js feat(web): Unified frontend code style (#1923) 2024-08-30 14:03:06 +08:00
genAntdCss.ts feat(web): Unified frontend code style (#1923) 2024-08-30 14:03:06 +08:00
global.d.ts feat: web update (#1860) 2024-08-22 11:05:18 +08:00
next.config.js feat(GraphRAG): enhance GraphRAG by graph community summary (#1801) 2024-08-30 21:59:44 +08:00
nprogress.css refactor: Add frontend code to DB-GPT (#912) 2023-12-11 00:05:42 +08:00
package-lock.json feat(GraphRAG): enhance GraphRAG by graph community summary (#1801) 2024-08-30 21:59:44 +08:00
package.json fix: rename vis-chart to vis-db-chart (#1946) 2024-09-03 16:02:25 +08:00
postcss.config.js feat(web): Unified frontend code style (#1923) 2024-08-30 14:03:06 +08:00
README.md fix: rename vis-chart to vis-db-chart (#1946) 2024-09-03 16:02:25 +08:00
tailwind.config.js feat: web update (#1860) 2024-08-22 11:05:18 +08:00
tsconfig.json feat: Add support for retrieving keys and variables by key in Flow API 2024-09-04 20:57:40 +08:00
yarn.lock fix: rename vis-chart to vis-db-chart (#1946) 2024-09-03 16:02:25 +08:00

DB-GPT
DB-GPT-Web

DB-GPT Chat UI, LLM to Vision.

Release Notes Open Issues Discord


👋 Introduction

DB-GPT-Web is an Open source chat UI for DB-GPT. Also, it is a LLM to Vision solution.

DB-GPT-Web is an Open source Tailwind and Next.js based chat UI for AI and GPT projects. It beautify a lot of markdown labels, such as table, thead, th, td, code, h1, h2, ul, li, a, img. Also it define some custom labels to adapted to AI-specific scenarios. Such as plugin running, knowledge name, Chart view, and so on.

💪🏻 Getting Started

Prerequisites

  • Node.js >= 16
  • npm >= 8
  • yarn >= 1.22
  • Supported OSes: Linux, macOS and Windows

Installation

# Install dependencies
npm install
yarn install

Usage

cp .env.template .env

edit the API_BASE_URL to the real address

# development model
npm run dev
yarn dev

🚀 Use In DB-GPT

npm run compile
yarn compile

# copy compile file to DB-GPT static file dictory
cp -rf out/* ../dbgpt/app/static 

📚 Documentation

For full documentation, visit document.

Usage

gpt-vis for markdown support. ant-design for ui components. next.js for server side rendering. @antv/g2 for charts.

License

DB-GPT-Web is licensed under the MIT License.


Enjoy using DB-GPT-Web to build stunning UIs for your AI and GPT projects.

🌟 If you find it helpful, don't forget to give it a star on GitHub! Stars are like little virtual hugs that keep us going! We appreciate every single one we receive.

For any queries or issues, feel free to open an issue on the repository.

Happy coding! 😊

antdbgptweb installation

deploy in local environment: