vllm.tool_parsers.phi4mini_tool_parser
¶
Classes:
-
Phi4MiniJsonToolParser–Tool call parser for phi-4-mini models intended for use with the
Phi4MiniJsonToolParser
¶
Bases: ToolParser
Tool call parser for phi-4-mini models intended for use with the examples/tool_chat_template_llama.jinja template.
Used when --enable-auto-tool-choice --tool-call-parser phi4_mini_json are all set
Methods:
-
extract_tool_calls–Extract the tool calls from a complete model response.
extract_tool_calls(model_output, request)
¶
Extract the tool calls from a complete model response.