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 — Change type of examples_dataframe to PandasDataFrame · silverdev/python-aiplatform@7b998df

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • vertexai/_genai/types
    • common.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎vertexai/_genai/types/common.py‎

Copy file name to clipboardExpand all lines: vertexai/_genai/types/common.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3796,7 +3796,7 @@ class OptimizeConfig(_common.BaseModel):
37963796
default=None,
37973797
description="""The optimization target for the prompt optimizer. It must be one of the OptimizeTarget enum values: OPTIMIZATION_TARGET_GEMINI_NANO for the prompts from Android core API, OPTIMIZATION_TARGET_FEW_SHOT_RUBRICS for the few-shot prompt optimizer with rubrics, OPTIMIZATION_TARGET_FEW_SHOT_TARGET_RESPONSE for the few-shot prompt optimizer with target responses.""",
37983798
)
3799-
examples_dataframe: Optional[pd.DataFrame] = Field(
3799+
examples_dataframe: Optional[PandasDataFrame] = Field(
38003800
default=None,
38013801
description="""The examples dataframe for the few-shot prompt optimizer. It must contain "prompt" and "model_response" columns. Depending on which optimization target is used, it also needs to contain "rubrics" and "rubrics_evaluations" or "target_response" columns.""",
38023802
)

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.