Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::Context (v0.1.0)

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
Returns

#datasource_references=

def datasource_references=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::DatasourceReferences
Parameter
Returns

#example_queries

def example_queries() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExampleQuery>
Returns

#example_queries=

def example_queries=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::ExampleQuery>
Parameter
Returns

#options

def options() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ConversationOptions
Returns

#options=

def options=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::ConversationOptions
Parameter
Returns

#system_instruction

def system_instruction() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.