|
@@ -45,9 +45,6 @@ public class ChatServiceImpl implements ChatService {
|
|
|
if(JSON.parseObject(choices.get(0).toString()).getJSONObject("message").getString("content").contains("【转人工】")){
|
|
if(JSON.parseObject(choices.get(0).toString()).getJSONObject("message").getString("content").contains("【转人工】")){
|
|
|
jsonObject.put("artificial", true);
|
|
jsonObject.put("artificial", true);
|
|
|
}
|
|
}
|
|
|
- if(JSON.parseObject(choices.get(0).toString()).getJSONObject("message").getString("aiContent").contains("【转人工】")){
|
|
|
|
|
- jsonObject.put("artificial", true);
|
|
|
|
|
- }
|
|
|
|
|
if(JSON.parseObject(choices.get(0).toString()).getJSONObject("message").getString("content").contains("FunctionCallBegin")){
|
|
if(JSON.parseObject(choices.get(0).toString()).getJSONObject("message").getString("content").contains("FunctionCallBegin")){
|
|
|
jsonObject.put("artificial", true);
|
|
jsonObject.put("artificial", true);
|
|
|
}
|
|
}
|