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

feat: Run AWEL flow in CLI #1341

Merged
merged 6 commits into from
Mar 27, 2024
Merged

feat: Run AWEL flow in CLI #1341

merged 6 commits into from
Mar 27, 2024

Conversation

fangyinc
Copy link
Collaborator

Description

  1. Run AWEL flow in CLI
  2. AWEL flow chat unified interface
  3. More dbgpt commands:
  • dbgpt run flow
  • dbgpt app list

How Has This Been Tested?

1. Install dependencies

pip install -e ".[cli]"

2. Restart DB-GPT

3. Install dbgpts

dbgpt app install awel-flow-simple-streaming-chat

4. Chat with AWEL flow

non-streaming mode

dbgpt run flow -n awel_flow_simple_streaming_chat \
--model "chatgpt_proxyllm" \
--messages 'Write a quick sort in python'

streaming mode

dbgpt run flow -n awel_flow_simple_streaming_chat \
--model "chatgpt_proxyllm" \
--messages 'Write a quick sort in python' \
-s 

Snapshots:

image

image

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

@github-actions github-actions bot added the enhancement New feature or request label Mar 27, 2024
Copy link
Collaborator

@Aries-ckt Aries-ckt left a comment

Choose a reason for hiding this comment

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

r+

@Aries-ckt
Copy link
Collaborator

test success!
image

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+

@csunny csunny merged commit 3a7a2cb into eosphoros-ai:main Mar 27, 2024
4 checks passed
@fangyinc fangyinc deleted the flow-trigger branch July 15, 2024 03:41
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
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants