public sealed class Context : IMessage<Context>, IEquatable<Context>, IDeepCloneable<Context>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class Context.
A collection of context to apply to this conversation
Namespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
Context()
public Context()
Context(Context)
public Context(Context other)
Parameter | |
---|---|
Name | Description |
other |
Context |
Properties
DatasourceReferences
public DatasourceReferences DatasourceReferences { get; set; }
Required. Datasources available for answering the question.
Property Value | |
---|---|
Type | Description |
DatasourceReferences |
Options
public ConversationOptions Options { get; set; }
Optional. Additional options for the conversation.
Property Value | |
---|---|
Type | Description |
ConversationOptions |
SystemInstruction
public string SystemInstruction { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |