$res = $ai->nlp()->wordCom([ 'text' => '今天深圳的天气怎么样?明天呢' ]); if($res->success()){ var_dump($res->toArray()); }
$res = $ai->nlp()->textPolar([ 'text' => '今天的天气不错呀' ]); if($res->success()){ var_dump($res->toArray()); }
Last updated 5 years ago