|
...
|
...
|
@@ -98,6 +98,10 @@ class GeoQuestionRes extends Command |
|
|
|
$data = $geo_service->getDeepSeekResult($question);
|
|
|
|
$result = $this->dealDeepSeek($data);
|
|
|
|
break;
|
|
|
|
case 'gpt-4o-mini':
|
|
|
|
$data = $geo_service->getDeepSeekResult($question,'gpt-4o-mini');
|
|
|
|
$result = $this->dealDeepSeek($data,'gpt-4o-mini');
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
$result = $geo_service->getAiPlatformResult($question, $platform);
|
|
|
|
break;
|
|
...
|
...
|
@@ -215,10 +219,10 @@ class GeoQuestionRes extends Command |
|
|
|
* @method :post
|
|
|
|
* @time :2025/7/15 10:58
|
|
|
|
*/
|
|
|
|
public function dealDeepSeek($data){
|
|
|
|
public function dealDeepSeek($data,$model = 'DeepSeek'){
|
|
|
|
$result = [
|
|
|
|
'code' => 200,
|
|
|
|
'model' => 'DeepSeek',
|
|
|
|
'model' => $model,
|
|
|
|
'text' => '',
|
|
|
|
];
|
|
|
|
$texts = [];
|
...
|
...
|
|