Replace all instances of Sonnet to Opus

This commit is contained in:
Timothy Kassis
2026-01-21 09:16:34 -05:00
parent c5413a6b5c
commit cd537c1af6
6 changed files with 24 additions and 30 deletions

View File

@@ -67,7 +67,7 @@ result = npa.analyze_unit_visually(
analyzer,
unit_id=0,
api_client=client,
model='claude-3-5-sonnet-20241022',
model='claude-opus-4.5',
task='quality_assessment'
)
@@ -287,7 +287,7 @@ Currently supported APIs:
| Provider | Client | Model Examples |
|----------|--------|----------------|
| Anthropic | `anthropic.Anthropic()` | claude-3-5-sonnet-20241022 |
| Anthropic | `anthropic.Anthropic()` | claude-opus-4.5 |
| OpenAI | `openai.OpenAI()` | gpt-4-vision-preview |
| Google | `google.generativeai` | gemini-pro-vision |

View File

@@ -284,7 +284,7 @@ npa.analyze_unit_visually(
analyzer: SortingAnalyzer,
unit_id: int,
api_client: Any = None,
model: str = 'claude-3-5-sonnet-20241022',
model: str = 'claude-opus-4.5',
task: str = 'quality_assessment',
custom_prompt: str = None,
) -> dict
@@ -304,7 +304,7 @@ npa.batch_visual_curation(
analyzer: SortingAnalyzer,
unit_ids: list = None,
api_client: Any = None,
model: str = 'claude-3-5-sonnet-20241022',
model: str = 'claude-opus-4.5',
output_dir: str = None,
progress_callback: callable = None,
) -> dict