Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 85d5f93

Browse files
committed
fix doc format
1 parent cf255ec commit 85d5f93

File tree

1 file changed

+8
-7
lines changed
  • bigframes/bigquery/_operations

1 file changed

+8
-7
lines changed

bigframes/bigquery/_operations/ai.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,21 @@ def ai_generate_bool(
8383
uses the full endpoint of the model. If you don't specify an ENDPOINT value, BigQuery ML selects a recent stable
8484
version of Gemini to use.
8585
request_type (Literal["dedicated", "shared", "unspecified"]):
86-
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.
8989
* "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.
9393
model_params (Mapping[Any, Any]):
9494
Provides additional parameters to the model. The MODEL_PARAMS value must conform to the generateContent request body format.
9595
9696
Returns:
9797
bigframes.series.Series: A new struct Series with the result data. The struct contains these fields:
9898
* "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.
100101
* "status": a STRING value that contains the API response status for the corresponding row. This value is empty if the operation was successful.
101102
"""
102103

0 commit comments

Comments
 (0)