Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::GenerationOptions.
Options to control query generation, execution, and response format.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#generate_disambiguation_question
def generate_disambiguation_question() -> ::Boolean
Returns
- (::Boolean) — Optional. If true (default to false), the service may return a clarifying_question if the input query is ambiguous.
#generate_disambiguation_question=
def generate_disambiguation_question=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If true (default to false), the service may return a clarifying_question if the input query is ambiguous.
Returns
- (::Boolean) — Optional. If true (default to false), the service may return a clarifying_question if the input query is ambiguous.
#generate_explanation
def generate_explanation() -> ::Boolean
Returns
- (::Boolean) — Optional. If true, an explanation of the generated query will be returned in the response.
#generate_explanation=
def generate_explanation=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If true, an explanation of the generated query will be returned in the response.
Returns
- (::Boolean) — Optional. If true, an explanation of the generated query will be returned in the response.
#generate_natural_language_answer
def generate_natural_language_answer() -> ::Boolean
Returns
- (::Boolean) — Optional. If true, a natural language answer based on the query execution result will be generated and returned in the response.
#generate_natural_language_answer=
def generate_natural_language_answer=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If true, a natural language answer based on the query execution result will be generated and returned in the response.
Returns
- (::Boolean) — Optional. If true, a natural language answer based on the query execution result will be generated and returned in the response.
#generate_query_result
def generate_query_result() -> ::Boolean
Returns
- (::Boolean) — Optional. If true, the generated query will be executed, and the result data will be returned in the response.
#generate_query_result=
def generate_query_result=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If true, the generated query will be executed, and the result data will be returned in the response.
Returns
- (::Boolean) — Optional. If true, the generated query will be executed, and the result data will be returned in the response.