public sealed class SystemMessage : IMessage<SystemMessage>, IEquatable<SystemMessage>, IDeepCloneable<SystemMessage>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class SystemMessage.
A message from the system in response to the user. This message can also be a message from the user as historical context for multiturn conversations with the system.
Implements
IMessageSystemMessage, IEquatableSystemMessage, IDeepCloneableSystemMessage, IBufferMessage, IMessageNamespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
SystemMessage()
public SystemMessage()
SystemMessage(SystemMessage)
public SystemMessage(SystemMessage other)
Parameter | |
---|---|
Name | Description |
other |
SystemMessage |
Properties
Analysis
public AnalysisMessage Analysis { get; set; }
A message produced during analysis.
Property Value | |
---|---|
Type | Description |
AnalysisMessage |
Chart
public ChartMessage Chart { get; set; }
A message produced during chart generation.
Property Value | |
---|---|
Type | Description |
ChartMessage |
Data
public DataMessage Data { get; set; }
A message produced during data retrieval.
Property Value | |
---|---|
Type | Description |
DataMessage |
Error
public ErrorMessage Error { get; set; }
An error message.
Property Value | |
---|---|
Type | Description |
ErrorMessage |
GroupId
public int GroupId { get; set; }
Identifies the group that the event belongs to. Similar events are deemed to be logically relevant to each other and should be shown together in the UI.
Property Value | |
---|---|
Type | Description |
int |
HasGroupId
public bool HasGroupId { get; }
Gets whether the "group_id" field is set
Property Value | |
---|---|
Type | Description |
bool |
KindCase
public SystemMessage.KindOneofCase KindCase { get; }
Property Value | |
---|---|
Type | Description |
SystemMessageKindOneofCase |
Schema
public SchemaMessage Schema { get; set; }
A message produced during schema resolution.
Property Value | |
---|---|
Type | Description |
SchemaMessage |
Text
public TextMessage Text { get; set; }
A direct natural language response to the user message.
Property Value | |
---|---|
Type | Description |
TextMessage |