|
...
|
...
|
@@ -34,6 +34,9 @@ class AiCommandLogic extends BaseLogic |
|
|
|
if(strpos($prompt, '{keyword}') !== false) {
|
|
|
|
$prompt = str_replace('{keyword}', $this->param['keywords'], $prompt);
|
|
|
|
}
|
|
|
|
if(strpos($prompt, '{topic}') !== false) {
|
|
|
|
$prompt = str_replace('{topic}', $this->param['keywords'], $prompt);
|
|
|
|
}
|
|
|
|
if(strpos($prompt, '{company introduction}') !== false) {
|
|
|
|
$company_introduction = $this->getDeployOptimize('company_en_description');
|
|
|
|
$prompt = str_replace('{company introduction}', $company_introduction, $prompt);
|
...
|
...
|
|