Closed lx1054331851 closed 1 month ago
The conversation title is not generated automatically in the self-hosted Dify versions 0.7.0 and 0.7.1 because the code does not include any logic to automatically generate a conversation title. The title is set based on the site.title
and customConfig
properties, but there is no implementation for generating a title dynamically based on the conversation content [1].
However, there is existing functionality in the Dify codebase that attempts to generate conversation titles dynamically based on the conversation content. The method generate_conversation_name
in the LLMGenerator
class is responsible for this functionality. Additionally, the MessageCycleManage
class includes a method _generate_conversation_name
that initiates the title generation process in a separate thread if the conversation is new and the auto_generate_conversation_name
flag is set to true [2][3].
To continue talking to Dosu, mention @dosu.
What LLM do you use.
gpt 4o
What LLM do you use.
Self Checks
Dify version
0.7.0, 0.7.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
can not generate conversation title automaticly.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response