[Core] Support structured outputs for beam search (#35022)

Signed-off-by: Guan-Ming (Wesley) Chiu <guanmingchiu@gmail.com>
Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
This commit is contained in:
Guan-Ming (Wesley) Chiu
2026-06-12 06:56:25 -07:00
committed by GitHub
parent fbc3a1907a
commit c7aa3d2630
3 changed files with 405 additions and 70 deletions
+1
View File
@@ -1048,3 +1048,4 @@ class BeamSearchParams(
temperature: float = 0.0
length_penalty: float = 1.0
include_stop_str_in_output: bool = False
structured_outputs: StructuredOutputsParams | None = None