更新星火认知模型分析信息

This commit is contained in:
yaooo 2023-10-16 11:42:36 +08:00
parent 3ef002ab16
commit 634b876b9a

View File

@ -34,7 +34,7 @@ class AiAianalyse
foreach($data_field as $k=>$v) {
$demand .= $k . '' . $v . '';
}
$question = "分析以下{$type_name}信息【{$demand}】请问有那些商机?需要购买哪些类型的商品?";
$question = "分析以下{$type_name}信息【{$demand}】请问有那些商机?需要购买哪些商品?";
try {
$chat=new ChatClient($this->app_id,$this->api_key,$this->api_secret);
$client = new Client($chat->assembleAuthUrl('wss://spark-api.xf-yun.com/v2.1/chat'));