Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::Context.
A collection of context to apply to this conversation
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#datasource_references
def datasource_references() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::DatasourceReferences
- (::Google::Cloud::GeminiDataAnalytics::V1beta::DatasourceReferences) — Required. Data sources that are available for answering the question.
#datasource_references=
def datasource_references=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::DatasourceReferences
- value (::Google::Cloud::GeminiDataAnalytics::V1beta::DatasourceReferences) — Required. Data sources that are available for answering the question.
- (::Google::Cloud::GeminiDataAnalytics::V1beta::DatasourceReferences) — Required. Data sources that are available for answering the question.
#example_queries
def example_queries() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExampleQuery>
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExampleQuery>) — Optional. A list of example queries, providing examples of relevant and commonly used SQL queries and their corresponding natural language queries optionally present.
#example_queries=
def example_queries=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExampleQuery>
- value (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExampleQuery>) — Optional. A list of example queries, providing examples of relevant and commonly used SQL queries and their corresponding natural language queries optionally present.
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExampleQuery>) — Optional. A list of example queries, providing examples of relevant and commonly used SQL queries and their corresponding natural language queries optionally present.
#options
def options() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ConversationOptions
- (::Google::Cloud::GeminiDataAnalytics::V1beta::ConversationOptions) — Optional. Additional options for the conversation.
#options=
def options=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ConversationOptions
- value (::Google::Cloud::GeminiDataAnalytics::V1beta::ConversationOptions) — Optional. Additional options for the conversation.
- (::Google::Cloud::GeminiDataAnalytics::V1beta::ConversationOptions) — Optional. Additional options for the conversation.
#system_instruction
def system_instruction() -> ::String
-
(::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.
#system_instruction=
def system_instruction=(value) -> ::String
-
value (::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.
-
(::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.