Commit 7549563a authored by alex yao's avatar alex yao

fix(software-copyright): 修正AI助手问题生成的提示文本

- 将MAIN_FUNCTION类型的提示从"生成[开发目的]"更正为"生成[软件的主要功能]"
- 将TECHNICAL_FEATURES类型的提示从"生成[软件的主要功能]"更正为"生成[该软件的技术特点]"
- 将DEVELOPMENT_PURSE类型的提示从"生成[技术特点]"更正为"生成[开发目的]"
parent f225d483
...@@ -110,16 +110,16 @@ public class SoftwareCopyRightServiceImpl implements SoftwareCopyRightService { ...@@ -110,16 +110,16 @@ public class SoftwareCopyRightServiceImpl implements SoftwareCopyRightService {
) throws InterruptedException, DifyApiException, IOException { ) throws InterruptedException, DifyApiException, IOException {
switch (type) { switch (type) {
case MAIN_FUNCTION: case MAIN_FUNCTION:
question = "生成[开发目的]"; question = "生成[软件的主要功能]";
break; break;
case TARGET_INDUSTRY: case TARGET_INDUSTRY:
question = "生成[面向行业/领域]"; question = "生成[面向行业/领域]";
break; break;
case TECHNICAL_FEATURES: case TECHNICAL_FEATURES:
question = "生成[软件的主要功能]"; question = "生成[该软件的技术特点]";
break; break;
case DEVELOPMENT_PURPOSE: case DEVELOPMENT_PURPOSE:
question = "生成[技术特点]"; question = "生成[开发目的]";
break; break;
default: default:
throw new BusinessException("不支持的AI助手类型: " + type); throw new BusinessException("不支持的AI助手类型: " + type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment