GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: fix generate_text and generate_table input docs (#2455) · google/bigframes@078bd32

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bigframes/bigquery/_operations
    • ai.py
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)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.