|
@@ -98,6 +98,10 @@ class GeoQuestionRes extends Command |
|
@@ -98,6 +98,10 @@ class GeoQuestionRes extends Command |
|
98
|
$data = $geo_service->getDeepSeekResult($question);
|
98
|
$data = $geo_service->getDeepSeekResult($question);
|
|
99
|
$result = $this->dealDeepSeek($data);
|
99
|
$result = $this->dealDeepSeek($data);
|
|
100
|
break;
|
100
|
break;
|
|
|
|
101
|
+ case 'gpt-4o-mini':
|
|
|
|
102
|
+ $data = $geo_service->getDeepSeekResult($question,'gpt-4o-mini');
|
|
|
|
103
|
+ $result = $this->dealDeepSeek($data,'gpt-4o-mini');
|
|
|
|
104
|
+ break;
|
|
101
|
default:
|
105
|
default:
|
|
102
|
$result = $geo_service->getAiPlatformResult($question, $platform);
|
106
|
$result = $geo_service->getAiPlatformResult($question, $platform);
|
|
103
|
break;
|
107
|
break;
|
|
@@ -215,10 +219,10 @@ class GeoQuestionRes extends Command |
|
@@ -215,10 +219,10 @@ class GeoQuestionRes extends Command |
|
215
|
* @method :post
|
219
|
* @method :post
|
|
216
|
* @time :2025/7/15 10:58
|
220
|
* @time :2025/7/15 10:58
|
|
217
|
*/
|
221
|
*/
|
|
218
|
- public function dealDeepSeek($data){
|
222
|
+ public function dealDeepSeek($data,$model = 'DeepSeek'){
|
|
219
|
$result = [
|
223
|
$result = [
|
|
220
|
'code' => 200,
|
224
|
'code' => 200,
|
|
221
|
- 'model' => 'DeepSeek',
|
225
|
+ 'model' => $model,
|
|
222
|
'text' => '',
|
226
|
'text' => '',
|
|
223
|
];
|
227
|
];
|
|
224
|
$texts = [];
|
228
|
$texts = [];
|