作者 lyh

gx生成评论

@@ -55,6 +55,7 @@ class InitKeywordCommon extends Command @@ -55,6 +55,7 @@ class InitKeywordCommon extends Command
55 $text = Gpt::instance()->openai_chat_qqs($info['ai']); 55 $text = Gpt::instance()->openai_chat_qqs($info['ai']);
56 $text = Common::deal_keywords($text); 56 $text = Common::deal_keywords($text);
57 $text = Common::deal_str($text); 57 $text = Common::deal_str($text);
  58 + dd($text);
58 preg_match_all('/\{[^{}]*\}/', $text, $matches); 59 preg_match_all('/\{[^{}]*\}/', $text, $matches);
59 if(!empty($text)){ 60 if(!empty($text)){
60 $data = []; 61 $data = [];