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

This commit is contained in:
yaooo 2023-10-16 11:40:23 +08:00
parent 3d29183d03
commit 3ef002ab16

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'));