lang->ai->prompts->role; ?>
role, "class='form-control' placeholder='{$this->lang->ai->prompts->rolePlaceholder}'"); ?>
lang->ai->prompts->characterization; ?>
characterization, "class='form-control' rows='4' placeholder='{$this->lang->ai->prompts->charPlaceholder}'"); ?>
lang->ai->prompts->object; ?>
lang->ai->dataSource[$prompt->module]['common']; ?>
lang->ai->prompts->field; ?>
source);
$sources = array_filter($sources);
end($sources);
$lastKey = key($sources);
foreach($sources as $key => $source)
{
$isLastElem = ($key === $lastKey);
list($object, $field) = explode('.', $source);
echo $this->lang->ai->dataSource[$prompt->module][$object][$field] . ($isLastElem ? '' : $this->lang->separater);
}
?>
ai->prompts->purpose; ?>
purpose, "class='form-control' rows='6' placeholder='{$lang->ai->prompts->purposeTip}' required"); ?>
ai->prompts->elaboration; ?>
elaboration, "class='form-control' rows='6' placeholder='{$lang->ai->prompts->elaborationTip}'"); ?>
lang->ai->prompts->selectTargetForm; ?>
targetForm);
echo $this->lang->ai->targetForm[$targetForm[0]][$targetForm[1]];
?>