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

@@ -101,7 +101,7 @@ from openai import OpenAI
client = OpenAI()
md = MarkItDown(
llm_client=client,
llm_model="anthropic/claude-sonnet-4.5",
llm_model="anthropic/claude-opus-4.5",
llm_prompt="Describe this scientific slide, focusing on data and key findings"
)
@@ -143,7 +143,7 @@ Be technical and precise.
md = MarkItDown(
llm_client=client,
llm_model="anthropic/claude-sonnet-4.5", # recommended for scientific vision
llm_model="anthropic/claude-opus-4.5", # recommended for scientific vision
llm_prompt=scientific_prompt
)
@@ -167,14 +167,14 @@ client = OpenAI(
# Scientific papers - use Claude for technical analysis
scientific_md = MarkItDown(
llm_client=client,
llm_model="anthropic/claude-sonnet-4.5",
llm_model="anthropic/claude-opus-4.5",
llm_prompt="Describe scientific figures with technical precision"
)
# Presentations - use GPT-4o for visual understanding
presentation_md = MarkItDown(
llm_client=client,
llm_model="anthropic/claude-sonnet-4.5",
llm_model="anthropic/claude-opus-4.5",
llm_prompt="Summarize slide content and key visual elements"
)