Reasoning parser (#4000)

Co-authored-by: Lucas Pickup <lupickup@microsoft.com>
This commit is contained in:
Xihuai Wang
2025-03-03 21:16:36 -08:00
committed by GitHub
co-authored by Lucas Pickup
parent 11eea69e70
commit 95575aa76a
12 changed files with 1047 additions and 7 deletions
+6
View File
@@ -678,6 +678,12 @@ class ParseFunctionCallReq:
)
@dataclass
class SeparateReasoningReqInput:
text: str # The text to parse.
reasoning_parser: str # Specify the parser type, e.g., "deepseek-r1".
@dataclass
class VertexGenerateReqInput:
instances: List[dict]