mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 07:05:56 +08:00
fix: more like this. (#1875)
This commit is contained in:
parent
ae975b10e9
commit
fcf8512956
@ -473,7 +473,7 @@ class ApplicationManager:
|
|||||||
more_like_this_dict = copy_app_model_config_dict.get('more_like_this')
|
more_like_this_dict = copy_app_model_config_dict.get('more_like_this')
|
||||||
if more_like_this_dict:
|
if more_like_this_dict:
|
||||||
if 'enabled' in more_like_this_dict and more_like_this_dict['enabled']:
|
if 'enabled' in more_like_this_dict and more_like_this_dict['enabled']:
|
||||||
properties['more_like_this'] = copy_app_model_config_dict.get('opening_statement')
|
properties['more_like_this'] = True
|
||||||
|
|
||||||
# speech to text
|
# speech to text
|
||||||
speech_to_text_dict = copy_app_model_config_dict.get('speech_to_text')
|
speech_to_text_dict = copy_app_model_config_dict.get('speech_to_text')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user