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(agent): Add summary assistant checking #1053

Merged
merged 20 commits into from
Jan 10, 2024
Merged

Conversation

qidanrui
Copy link
Collaborator

@qidanrui qidanrui commented Jan 9, 2024

Description

Change the prompt to check the relevance between user's question and provided content. If there is no relevance, terminate the agent running process.
image

How Has This Been Tested?

Run the following python code :

python examples/agents/single_summary_agent_dialogue_example.py 

Snapshots:

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

yhjun1026 and others added 18 commits January 6, 2024 19:08
1.Add tool agent(agent can use plugin)
2.Add awel layout multi-agents group chat mode
3.Add vis-sdk code
# Conflicts:
#	dbgpt/agent/agents/agent.py
#	dbgpt/agent/agents/base_agent.py
#	dbgpt/agent/agents/expand/plugin_assistant_agent.py
#	dbgpt/agent/agents/plan_group_chat.py
#	dbgpt/agent/plugin/plugin.py
#	dbgpt/storage/chat_history/chat_history_db.py
#	examples/awel/simple_llm_client_example.py
1.Added the MangerAgent basic class. All managers who organize multi-agent dialogues inherit from this class.
2.Modify the logic of AutoPlan mode and put AutoPlan mode into the serve layer
1.Add awel layout agent chat mode ipynb file
1.Modify the controller's dependence on the management agent
@qidanrui qidanrui requested review from yhjun1026 and csunny January 9, 2024 08:42
@qidanrui qidanrui changed the title Add summary assistant checking feat(agent):Add summary assistant checking Jan 9, 2024
@github-actions github-actions bot added agent Module: agent enhancement New feature or request labels Jan 9, 2024
@qidanrui qidanrui changed the title feat(agent):Add summary assistant checking feat(agent): Add summary assistant checking Jan 9, 2024
yhjun1026
yhjun1026 previously approved these changes Jan 9, 2024
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+

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 2706e27 into main Jan 10, 2024
3 of 4 checks passed
@csunny csunny deleted the add-summary-assistant-checking branch February 6, 2024 05:46
Hopshine pushed a commit to Hopshine/DB-GPT that referenced this pull request Sep 10, 2024
Co-authored-by: yhjun1026 <460342015@qq.com>
Co-authored-by: csunny <cfqsunny@163.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent Module: agent enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants