Skip to content

Commit 559be86

Browse files
author
hemanth-asirvatham
committed
Update Gabriel defaults for GPT-5.5
1 parent 2f7e1df commit 559be86

8 files changed

Lines changed: 238 additions & 58 deletions

File tree

gabriel_tutorial_notebook.ipynb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@
898898
" column_name = \"text\", # name of column with text to classify\n",
899899
" labels = labels, # dictionary of label definitions, defined above\n",
900900
" save_dir = \"toy_classify\", # directory to save results, use a Google Drive folder (e.g. \"/content/drive/folder\") for permanent storage (see 'Loading your data' section)\n",
901-
" model = \"gpt-5.4-mini\", # GPT model used for classification (gpt-5.4 is best, gpt-5.4-nano is cheapest and fastest, gpt-5.4-mini is good balance)\n",
901+
" model = \"gpt-5.4-mini\", # GPT model used for classification (gpt-5.5 is best, gpt-5.4-nano is cheapest and fastest, gpt-5.4-mini is good balance)\n",
902902
" modality = \"text\", # input modality can also be \"entity\" (for terms like 'apple pie', not full texts), \"web\" (see web section), \"pdf\", \"image\", or \"audio\" (see multimodal section)\n",
903903
" ###\n",
904904
" ### the parameters below are less important\n",
@@ -3135,7 +3135,7 @@
31353135
" column_name = \"text\", # name of column with text to rate\n",
31363136
" attributes = attributes, # attributes to score on 0–100 scale; defined above\n",
31373137
" save_dir = \"toy_rate\", # directory to save results, use a Google Drive folder (e.g. \"/content/drive/folder\") for permanent storage (see 'Loading your data' section)\n",
3138-
" model = \"gpt-5.4-mini\", # GPT model used for ratings (gpt-5.4 is best, gpt-5.4-nano is cheapest and fastest, gpt-5.4-mini is good balance)\n",
3138+
" model = \"gpt-5.4-mini\", # GPT model used for ratings (gpt-5.5 is best, gpt-5.4-nano is cheapest and fastest, gpt-5.4-mini is good balance)\n",
31393139
" modality = \"text\", # input modality can also be \"entity\" (for terms like 'apple pie', not full texts), \"web\" (see web section), \"pdf\", \"image\", or \"audio\" (see multimodal section)\n",
31403140
" ###\n",
31413141
" ### the parameters below are less important\n",
@@ -7813,7 +7813,7 @@
78137813
" attributes = attributes, # attributes to extract; returns \"<NA>\" if GPT doesn't know\n",
78147814
" additional_instructions = \"\",\n",
78157815
" save_dir = \"toy_extract\", # directory to save results, use a Google Drive folder (e.g. \"/content/drive/folder\") for permanent storage (see 'Loading your data' section)\n",
7816-
" model = \"gpt-5.4\", # GPT model used for extraction (mini is cheaper but knows less)\n",
7816+
" model = \"gpt-5.5\", # GPT model used for extraction (mini is cheaper but knows less)\n",
78177817
" reasoning_effort = \"medium\",\n",
78187818
" modality = \"entity\", # input modality can also be \"text\", \"pdf\", \"image\", or \"audio\" (see multimodal section)\n",
78197819
" n_attributes_per_run = None, # default: all attributes in one prompt; set 12 or lower to split many attributes across prompts\n",
@@ -8296,7 +8296,7 @@
82968296
" attributes = attributes, # attributes to extract; returns \"<NA>\" if GPT doesn't know\n",
82978297
" additional_instructions = \"\",\n",
82988298
" save_dir = \"toy_pdf_extract\", # directory to save results, use a Google Drive folder (e.g. \"/content/drive/folder\") for permanent storage (see 'Loading your data' section)\n",
8299-
" model = \"gpt-5.4\",\n",
8299+
" model = \"gpt-5.5\",\n",
83008300
" modality = \"pdf\",\n",
83018301
" reasoning_effort = \"high\",\n",
83028302
" reset_files = False,\n",
@@ -20193,7 +20193,7 @@
2019320193
" entity_batch_frac = 0.25, # fraction of overall dataset generated in one batch\n",
2019420194
" existing_entities_cap = 100, # number of prior entities seen by each prompt\n",
2019520195
" save_dir = \"toy_seed\",\n",
20196-
" model = \"gpt-5.4\",\n",
20196+
" model = \"gpt-5.5\",\n",
2019720197
" reset_files = False,\n",
2019820198
")"
2019920199
],
@@ -21051,7 +21051,7 @@
2105121051
" population_description = population_description, # can also pass in a df with an existing sample of demographic characteristics or personas\n",
2105221052
" questions = questions, # if no questions, you get the generated personas alone\n",
2105321053
" save_dir = \"toy_poll\",\n",
21054-
" model = \"gpt-5.4\",\n",
21054+
" model = \"gpt-5.5\",\n",
2105521055
" reasoning_effort = \"medium\",\n",
2105621056
" num_personas = 200,\n",
2105721057
" n_questions_per_run = 10,\n",
@@ -21461,8 +21461,8 @@
2146121461
" scientific_theory = True, # set to False if you want general ideation to problem solve on any topic\n",
2146221462
" save_dir = \"automation_ideate\",\n",
2146321463
" evaluation_mode = \"recursive_rank\", # uses gabriel.rank recursively to find cream of the crop (set to 'rate' or 'rank' for faster runs)\n",
21464-
" model = \"gpt-5.4\",\n",
21465-
" ranking_model = \"gpt-5.4\",\n",
21464+
" model = \"gpt-5.5\",\n",
21465+
" ranking_model = \"gpt-5.5\",\n",
2146621466
" reasoning_effort = \"high\",\n",
2146721467
" web_search = False, # more expensive if True, but allows GPT to more robustly explore existing literature\n",
2146821468
" use_seed_entities = True, # enforces idea diversity\n",
@@ -25189,7 +25189,7 @@
2518925189
" labels = labels, # labels to classify\n",
2519025190
" save_dir = \"entity_web\",\n",
2519125191
" additional_instructions = additional_instructions,\n",
25192-
" model = \"gpt-5.4\", # GPT model used for scoring and searching\n",
25192+
" model = \"gpt-5.5\", # GPT model used for scoring and searching\n",
2519325193
" n_runs = 1,\n",
2519425194
" modality = \"web\", # using web searching\n",
2519525195
" search_context_size = \"medium\", # how much web info to pull ('high' is more expensive, 'low' cheaper)\n",
@@ -25762,7 +25762,7 @@
2576225762
" column_name = \"prompt\", # column containing the prompt text\n",
2576325763
" identifier_column = \"identifier\", # unique identifier for each prompt\n",
2576425764
" file_name = \"regional_responses.csv\",\n",
25765-
" model = \"gpt-5.4\", # smaller models are cheaper\n",
25765+
" model = \"gpt-5.5\", # smaller models are cheaper\n",
2576625766
" web_search = True,\n",
2576725767
" web_search_filters = {\"country\": \"country\", \"region\": \"region\"}, # optional per-prompt filters; values are columns in the df\n",
2576825768
" n_parallels = 650,\n",
@@ -25833,7 +25833,7 @@
2583325833
" column_name = \"criminal legal codes and policing rules\",\n",
2583425834
" attributes = attributes,\n",
2583525835
" save_dir = \"toy_web\",\n",
25836-
" model = \"gpt-5.4\",\n",
25836+
" model = \"gpt-5.5\",\n",
2583725837
")"
2583825838
],
2583925839
"metadata": {

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "openai-gabriel"
7-
version = "1.1.7"
7+
version = "1.1.8"
88
description = "LLM-based library to measure quantitative attributes on qualitative data"
99
authors = [
1010
{name = "Hemanth Asirvatham"},

src/gabriel/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.7"
1+
__version__ = "1.1.8"

src/gabriel/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ async def seed(
425425
*,
426426
save_dir: str,
427427
file_name: str = "seed_entities.csv",
428-
model: str = "gpt-5.4",
428+
model: str = "gpt-5.5",
429429
n_parallels: int = 650,
430430
num_entities: int = 1000,
431431
entities_per_generation: int = 50,
@@ -547,7 +547,7 @@ async def poll(
547547
file_name: str = "poll_results.csv",
548548
seed_file_name: str = "poll_seeds.csv",
549549
persona_file_name: str = "poll_personas.csv",
550-
model: str = "gpt-5.4",
550+
model: str = "gpt-5.5",
551551
seed_model: Optional[str] = None,
552552
persona_model: Optional[str] = None,
553553
poll_model: Optional[str] = None,

src/gabriel/tasks/poll.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ class PollConfig:
3232
file_name: str = "poll_results.csv"
3333
seed_file_name: str = "poll_seeds.csv"
3434
persona_file_name: str = "poll_personas.csv"
35-
seed_model: str = "gpt-5.4"
36-
persona_model: str = "gpt-5.4"
37-
poll_model: str = "gpt-5.4"
35+
seed_model: str = "gpt-5.5"
36+
persona_model: str = "gpt-5.5"
37+
poll_model: str = "gpt-5.5"
3838
n_parallels: int = 650
3939
num_personas: int = 1000
4040
entities_per_generation: int = 50

src/gabriel/tasks/seed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SeedConfig:
2626
instructions: str
2727
save_dir: str = os.path.expanduser("~/Documents/runs")
2828
file_name: str = "seed_entities.csv"
29-
model: str = "gpt-5.4"
29+
model: str = "gpt-5.5"
3030
n_parallels: int = 650
3131
num_entities: int = 1000
3232
entities_per_generation: int = 50

0 commit comments

Comments
 (0)