Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::SearchRequest::ContentSearchSpec::SummarySpec::ModelSpec (v0.6.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SearchRequest::ContentSearchSpec::SummarySpec::ModelSpec.

Specification of the model.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#version

def version() -> ::String
Returns
  • (::String) —

    The model version used to generate the summary.

    Supported values are:

    • stable: string. Default value when no value is specified. Uses a generally available, fine-tuned version of the text-bison@001 model.
    • preview: string. (Public preview) Uses a fine-tuned version of the text-bison@002 model. This model works only for summaries in English.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) —

    The model version used to generate the summary.

    Supported values are:

    • stable: string. Default value when no value is specified. Uses a generally available, fine-tuned version of the text-bison@001 model.
    • preview: string. (Public preview) Uses a fine-tuned version of the text-bison@002 model. This model works only for summaries in English.
Returns
  • (::String) —

    The model version used to generate the summary.

    Supported values are:

    • stable: string. Default value when no value is specified. Uses a generally available, fine-tuned version of the text-bison@001 model.
    • preview: string. (Public preview) Uses a fine-tuned version of the text-bison@002 model. This model works only for summaries in English.