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

refactor: upgrade gpt-vis #1883

Merged
merged 3 commits into from
Aug 28, 2024
Merged

refactor: upgrade gpt-vis #1883

merged 3 commits into from
Aug 28, 2024

Conversation

hustcc
Copy link
Collaborator

@hustcc hustcc commented Aug 23, 2024

Description

Use gpt-vis to render the content returned by the model, and define a markdown output protocol to support various visual charts for presentation.

How Has This Been Tested?

Manually test all markdown output and page rendering by gpt-vis.

Snapshots:

Include snapshots for easier review.

image

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

GPT-VIS

  • MarkdownVis -> GPTVis.
  • .less file.
  • type define error.
  • rehypePlugins props etc.
  • defaultRenderer for code.
  • upgrade deps
  • fix ERROR_REQUIRE_ESM

@github-actions github-actions bot added the internal DB-GPT internal flag(chore|ci|refactor|test) label Aug 23, 2024
Copy link
Collaborator

@csunny csunny left a comment

Choose a reason for hiding this comment

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

r+

Copy link
Collaborator

@yhjun1026 yhjun1026 left a comment

Choose a reason for hiding this comment

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

r+

@csunny csunny merged commit 1cb7e35 into main Aug 28, 2024
3 checks passed
csunny pushed a commit that referenced this pull request Sep 2, 2024
Hopshine pushed a commit to Hopshine/DB-GPT that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal DB-GPT internal flag(chore|ci|refactor|test)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants