Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 7, 2026. It is now read-only.

Commit 078bd32

Browse filesBrowse files
authored
docs: fix generate_text and generate_table input docs (#2455)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent fbaba0b commit 078bd32
Copy full SHA for 078bd32

1 file changed

+8-8Lines changed: 8 additions & 8 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bigframes/bigquery/_operations
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bigframes/bigquery/_operations/ai.py‎

Copy file name to clipboardExpand all lines: bigframes/bigquery/_operations/ai.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -522,10 +522,10 @@ def generate_text(
522522
model (bigframes.ml.base.BaseEstimator or str):
523523
The model to use for text generation.
524524
data (bigframes.pandas.DataFrame or bigframes.pandas.Series):
525-
The data to generate embeddings for. If a Series is provided, it is
526-
treated as the 'content' column. If a DataFrame is provided, it
527-
must contain a 'content' column, or you must rename the column you
528-
wish to embed to 'content'.
525+
The data to generate text for. If a Series is provided, it is
526+
treated as the 'prompt' column. If a DataFrame is provided, it
527+
must contain a 'prompt' column, or you must rename the column you
528+
wish to generate text to 'prompt'.
529529
temperature (float, optional):
530530
A FLOAT64 value that is used for sampling promiscuity. The value
531531
must be in the range ``[0.0, 1.0]``. A lower temperature works well
@@ -638,10 +638,10 @@ def generate_table(
638638
model (bigframes.ml.base.BaseEstimator or str):
639639
The model to use for table generation.
640640
data (bigframes.pandas.DataFrame or bigframes.pandas.Series):
641-
The data to generate embeddings for. If a Series is provided, it is
642-
treated as the 'content' column. If a DataFrame is provided, it
643-
must contain a 'content' column, or you must rename the column you
644-
wish to embed to 'content'.
641+
The data to generate table for. If a Series is provided, it is
642+
treated as the 'prompt' column. If a DataFrame is provided, it
643+
must contain a 'prompt' column, or you must rename the column you
644+
wish to generate table to 'prompt'.
645645
output_schema (str):
646646
A string defining the output schema (e.g., "col1 STRING, col2 INT64").
647647
temperature (float, optional):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.