Closed paul-yangmy closed 3 months ago
那块代码可以修复这个问题, 有答案了么
大佬,这部分问题有修复进度了么,能分享下么
您的邮件我已经收到了 我会及时的阅读 谢谢
没有,只是让更新到最新代码。
---Original--- From: @.> Date: Mon, May 13, 2024 08:24 AM To: @.>; Cc: @.**@.>; Subject: Re: [eosphoros-ai/DB-GPT] [Bug] [Module Name] Automatically rewriteand continuously loop answers (Issue #1422)
大佬,这部分问题有修复进度了么,能分享下么
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
help大佬们,我自己梳理了下流程,但后边涉及dag的代码就看不懂了:( 能否讲解一下呢
问答入口: DB-GPT/dbgpt/app/openapi/api_v1/api_v1.py 的chat_completions函数 dialogue.chat_mode 为 ChatScene.ChatKnowledge 调用 stream_generator 调用 BaseChat chat.stream_call
dbgpt/app/scene/base_chat.py 的 BaseChat 调用 call_streaming_operator 构建 build_cached_chat_operator
dbgpt/app/scene/operators/app_operator.py 的 build_cached_chat_operator 构建了dbgpt/model/operators/llm_operator.py 的 StreamingLLMOperator 调用了 dbgpt/core/awel/operators/base.py 的 call_stream 执行 DefaultWorkflowRunner 的 execute_workflow 构建了 dbgpt/core/awel/dag/base.py 的 DAGContext 执行_execute_node 函数
这个问题定位出来了么
---Original--- From: @.> Date: Fri, May 17, 2024 09:42 AM To: @.>; Cc: @.**@.>; Subject: Re: [eosphoros-ai/DB-GPT] [Bug] [Module Name] Automatically rewriteand continuously loop answers (Issue #1422)
help大佬们,我自己梳理了下流程,但后边涉及dag的代码就看不懂了:( 能否讲解一下呢
问答入口: DB-GPT/dbgpt/app/openapi/api_v1/api_v1.py 的chat_completions函数 dialogue.chat_mode 为 ChatScene.ChatKnowledge 调用 stream_generator 调用 BaseChat chat.stream_call
dbgpt/app/scene/base_chat.py 的 BaseChat 调用 call_streaming_operator 构建 build_cached_chat_operator
dbgpt/app/scene/operators/app_operator.py 的 build_cached_chat_operator 构建了dbgpt/model/operators/llm_operator.py 的 StreamingLLMOperator 调用了 dbgpt/core/awel/operators/base.py 的 call_stream 执行 DefaultWorkflowRunner 的 execute_workflow 构建了 dbgpt/core/awel/dag/base.py 的 DAGContext 执行_execute_node 函数
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
This issue has been marked as stale
, because it has been over 30 days without any activity.
This issue bas been closed, because it has been marked as stale
and there has been no activity for over 7 days.
Search before asking
Operating system information
Linux
Python version information
DB-GPT version
main
Related scenes
Installation Information
[X] Installation From Source
[ ] Docker Installation
[ ] Docker Compose Installation
[ ] Cluster Installation
[ ] AutoDL Image
[ ] Other
Device information
cpu
Models information
chatglm6b
What happened
在没有开启改写功能的情况下,当我提问时会去改写提问,并不断回答,重复多轮round
What you expected to happen
正常回答提问即可
How to reproduce
Additional context
No response
Are you willing to submit PR?