소스 검색

fix: more like this. (#1875)

Garfield Dai 1 년 전
부모
커밋
fcf8512956
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/core/application_manager.py

+ 1 - 1
api/core/application_manager.py

@@ -473,7 +473,7 @@ class ApplicationManager:
         more_like_this_dict = copy_app_model_config_dict.get('more_like_this')
         if more_like_this_dict:
             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_dict = copy_app_model_config_dict.get('speech_to_text')