From 854d1721a5ab8eb805c4f19bd879d87f66fa1dd2 Mon Sep 17 00:00:00 2001 From: Garrett Wu Date: Thu, 28 Mar 2024 23:21:58 +0000 Subject: [PATCH 1/2] docs: Mark Gemini model as Pre-GA --- bigframes/ml/llm.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bigframes/ml/llm.py b/bigframes/ml/llm.py index 6c4ae2ea43..cfa9b861cb 100644 --- a/bigframes/ml/llm.py +++ b/bigframes/ml/llm.py @@ -421,6 +421,11 @@ def to_gbq( class GeminiTextGenerator(base.BaseEstimator): """Gemini text generator LLM model. + Note: This product or feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the + Service Specific Terms(https://cloud.google.com/terms/service-terms#1). Pre-GA products and features are available "as is" + and might have limited support. For more information, see the launch stage descriptions + (https://cloud.google.com/products#product-launch-stages). + Args: session (bigframes.Session or None): BQ session to create the model. If None, use the global default session. From d491ee2c82846e806a859487c6b8f295999613a0 Mon Sep 17 00:00:00 2001 From: Garrett Wu Date: Fri, 29 Mar 2024 00:20:44 +0000 Subject: [PATCH 2/2] format --- bigframes/ml/llm.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bigframes/ml/llm.py b/bigframes/ml/llm.py index cfa9b861cb..e35f4d813d 100644 --- a/bigframes/ml/llm.py +++ b/bigframes/ml/llm.py @@ -421,10 +421,11 @@ def to_gbq( class GeminiTextGenerator(base.BaseEstimator): """Gemini text generator LLM model. - Note: This product or feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the - Service Specific Terms(https://cloud.google.com/terms/service-terms#1). Pre-GA products and features are available "as is" - and might have limited support. For more information, see the launch stage descriptions - (https://cloud.google.com/products#product-launch-stages). + .. note:: + This product or feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the + Service Specific Terms(https://cloud.google.com/terms/service-terms#1). Pre-GA products and features are available "as is" + and might have limited support. For more information, see the launch stage descriptions + (https://cloud.google.com/products#product-launch-stages). Args: session (bigframes.Session or None):