|
...
|
...
|
@@ -67,7 +67,6 @@ class InitKeywordComment extends Command |
|
|
|
$text = Gpt::instance()->openai_chat_qqs($info['ai']);
|
|
|
|
$text = Common::deal_keywords($text);
|
|
|
|
preg_match_all('/\{[^{}]*\}/', $text, $matches);
|
|
|
|
dd($matches[0]);
|
|
|
|
if(!empty($text)){
|
|
|
|
$data = [];
|
|
|
|
foreach ($matches[0] as $item){
|
...
|
...
|
|