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
{{ message }}
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Specifies the type of inference request to send to the Gemini model. The request type determines what
87
-
quota the request uses.
88
-
* "dedicated": function only uses Provisioned Throughput quota. The function returns the error Provisioned throughput is not purchased or is not active if Provisioned Throughput quota isn't available.
86
+
Specifies the type of inference request to send to the Gemini model. The request type determines what quota the request uses.
87
+
* "dedicated": function only uses Provisioned Throughput quota. The function returns the error Provisioned throughput is not
88
+
purchased or is not active if Provisioned Throughput quota isn't available.
89
89
* "shared": the function only uses dynamic shared quota (DSQ), even if you have purchased Provisioned Throughput quota.
90
-
* "unspecified":
91
-
If you haven't purchased Provisioned Throughput quota, the function uses DSQ quota.
92
-
If you have purchased Provisioned Throughput quota, the function uses the Provisioned Throughput quota first. If requests exceed the Provisioned Throughput quota, the overflow traffic uses DSQ quota.
90
+
* "unspecified": If you haven't purchased Provisioned Throughput quota, the function uses DSQ quota.
91
+
If you have purchased Provisioned Throughput quota, the function uses the Provisioned Throughput quota first.
92
+
If requests exceed the Provisioned Throughput quota, the overflow traffic uses DSQ quota.
93
93
model_params (Mapping[Any, Any]):
94
94
Provides additional parameters to the model. The MODEL_PARAMS value must conform to the generateContent request body format.
95
95
96
96
Returns:
97
97
bigframes.series.Series: A new struct Series with the result data. The struct contains these fields:
98
98
* "result": a BOOL value containing the model's response to the prompt. The result is None if the request fails or is filtered by responsible AI.
99
-
* "full_response": a STRING value containing the JSON response from the projects.locations.endpoints.generateContent call to the model. The generated text is in the text element.
99
+
* "full_response": a STRING value containing the JSON response from the projects.locations.endpoints.generateContent call to the model.
100
+
The generated text is in the text element.
100
101
* "status": a STRING value that contains the API response status for the corresponding row. This value is empty if the operation was successful.
0 commit comments