Google Cloud Discovery Engine V1 Client - Class SystemInstruction (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class SystemInstruction.

System instruction, also known as the prompt preamble for LLM calls.

Generated from protobuf message google.cloud.discoveryengine.v1.Assistant.GenerationConfig.SystemInstruction

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Assistant \ GenerationConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ additional_system_instruction string

Optional. Additional system instruction that will be added to the default system instruction.

getAdditionalSystemInstruction

Optional. Additional system instruction that will be added to the default system instruction.

Returns
Type Description
string

setAdditionalSystemInstruction

Optional. Additional system instruction that will be added to the default system instruction.

Parameter
Name Description
var string
Returns
Type Description
$this