context property
Optional. Text that should be provided to the model first to ground the response.
If not empty, this context will be given to the model first before the
examples and messages. When using a context be sure to provide it
with every request to maintain continuity.
This field can be a description of your prompt to the model to help provide context and guide the responses. Examples: "Translate the phrase from English to French." or "Given a statement, classify the sentiment as happy, sad or neutral."
Anything included in this field will take precedence over message history
if the total input size exceeds the model's input_token_limit and the
input request is truncated.
Implementation
final String context;