Skip to content

Commit 60daecc

Browse files
committed
eval formulas for prompt variantions sheet
1 parent b4190cb commit 60daecc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

automation-api/lib/ai_eval_spreadsheet/wrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ class AiEvalData:
4141
}
4242

4343

44-
def get_ai_eval_spreadsheet(authorized_clients: AuthorizedClients, ai_eval_spreadsheet_id: str) -> Spreadsheet:
44+
def get_ai_eval_spreadsheet(
45+
authorized_clients: AuthorizedClients, ai_eval_spreadsheet_id: str
46+
) -> Spreadsheet:
4547
ai_eval_spreadsheet = authorized_clients.gc.open_by_key(ai_eval_spreadsheet_id)
4648
return ai_eval_spreadsheet
4749

@@ -73,7 +75,7 @@ def read_ai_eval_data(
7375
row_schema=PromptVariation,
7476
worksheet_name=sheet_names["prompt_variations"],
7577
header_row_number=0,
76-
evaluate_formulas=False,
78+
evaluate_formulas=True,
7779
)
7880

7981
gen_ai_model_configs = GsheetsWorksheetEditor(

0 commit comments

Comments
 (0)