Interface SearchRequest.ContentSearchSpec.SummarySpec.ModelSpecOrBuilder (0.33.0)

public static interface SearchRequest.ContentSearchSpec.SummarySpec.ModelSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getVersion()

public abstract String getVersion()

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.

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

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.

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.