Trying beam search idea

This commit is contained in:
Jake Poznanski 2025-10-07 04:00:39 +00:00
parent c89787183a
commit 44f6b9f0de

View File

@ -145,6 +145,10 @@ async def build_page_query(local_pdf_path: str, page: int, target_longest_image_
],
"max_tokens": MAX_TOKENS,
"temperature": 0.0,
"extra_body": {
"use_beam_search": True,
"best_of": 5,
},
}