Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class Context.
A collection of context to apply to this conversation
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.Context
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ system_instruction
string
Optional. The basic entry point for data owners creating domain knowledge for Agent. Why: Business jargon (e.g., YTD revenue is calculated as…, Retirement Age is 65 in the USA, etc) and system instructions (e.g., answer like a Pirate) can help the model understand the business context around a user question.
↳ datasource_references
↳ options
getSystemInstruction
Optional. The basic entry point for data owners creating domain knowledge for Agent.
Why: Business jargon (e.g., YTD revenue is calculated as…, Retirement Age is 65 in the USA, etc) and system instructions (e.g., answer like a Pirate) can help the model understand the business context around a user question.
string
setSystemInstruction
Optional. The basic entry point for data owners creating domain knowledge for Agent.
Why: Business jargon (e.g., YTD revenue is calculated as…, Retirement Age is 65 in the USA, etc) and system instructions (e.g., answer like a Pirate) can help the model understand the business context around a user question.
var
string
$this
getDatasourceReferences
Required. Datasources available for answering the question.
hasDatasourceReferences
clearDatasourceReferences
setDatasourceReferences
Required. Datasources available for answering the question.
$this
getOptions
Optional. Additional options for the conversation.
hasOptions
clearOptions
setOptions
Optional. Additional options for the conversation.
$this