Sets the system instruction.
Description
System instructions are stored in the model configuration and guide the AI model’s behavior throughout the conversation.
Parameters
$systemInstructionstringrequired- The system instruction text.
Source
public function usingSystemInstruction(string $systemInstruction): self
{
$this->modelConfig->setSystemInstruction($systemInstruction);
return $this;
}
Changelog
| Version | Description |
|---|---|
| 0.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.