You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bigframes/ml/llm.py
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -849,10 +849,14 @@ class Claude3TextGenerator(base.RetriableRemotePredictor):
849
849
850
850
The models only available in specific regions. Check https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude#regions for details.
851
851
852
+
.. note::
853
+
854
+
claude-3-sonnet model is deprecated. Use other models instead.
855
+
852
856
Args:
853
857
model_name (str, Default to "claude-3-sonnet"):
854
858
The model for natural language tasks. Possible values are "claude-3-sonnet", "claude-3-haiku", "claude-3-5-sonnet" and "claude-3-opus".
855
-
"claude-3-sonnet" is Anthropic's dependable combination of skills and speed. It is engineered to be dependable for scaled AI deployments across a variety of use cases.
859
+
"claude-3-sonnet" (deprecated) is Anthropic's dependable combination of skills and speed. It is engineered to be dependable for scaled AI deployments across a variety of use cases.
856
860
"claude-3-haiku" is Anthropic's fastest, most compact vision and text model for near-instant responses to simple queries, meant for seamless AI experiences mimicking human interactions.
857
861
"claude-3-5-sonnet" is Anthropic's most powerful AI model and maintains the speed and cost of Claude 3 Sonnet, which is a mid-tier model.
858
862
"claude-3-opus" is Anthropic's second-most powerful AI model, with strong performance on highly complex tasks.
The starting timestamp for the query. Possible values are to 7 days in the past. If don't specify a timestamp (None), the query will default to the earliest possible time, 7 days ago. If provide a time-zone-naive timestamp, it will be treated as UTC.
119
130
Returns:
120
131
google.cloud.bigquery.QueryJob:
121
132
See https://cloud.google.com/python/docs/reference/bigquery/latest/google.cloud.bigquery.job.QueryJob
122
133
The ongoing query job can be managed using this object.
123
134
For example, the job can be cancelled or its error status
The starting timestamp for the query. Possible values are to 7 days in the past. If don't specify a timestamp (None), the query will default to the earliest possible time, 7 days ago. If provide a time-zone-naive timestamp, it will be treated as UTC.
175
196
176
197
Returns:
177
198
google.cloud.bigquery.QueryJob:
@@ -180,8 +201,15 @@ def to_pubsub(
180
201
For example, the job can be cancelled or its error status
0 commit comments