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