bigframes.ml.llm.GeminiTextGenerator.to_gbq#

GeminiTextGenerator.to_gbq(model_name:str,replace:bool=False)GeminiTextGenerator[source]#

Save the model to BigQuery.

Parameters:
  • model_name (str) – The name of the model.

  • replace (bool,default False) – Determine whether to replace if the model already exists. Default to False.

Returns:

Saved model.

Return type:

GeminiTextGenerator