-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
feature requestNew feature or requestNew feature or request
Description
🚀 The feature, motivation and pitch
Currently we support guided decoding of (JSON, Regex, Choice, Grammar, and arbitrary JSON) in OpenAI inference server. It would be great that we expose the same functionality in the offline interface as well.
https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html#extra-parameters
Concretely this would mean adding the support here as a new parameter to generate call. Using methods introduced in #2819.
Do make sure to add test and examples.
Alternatives
No response
Additional context
No response
Bit0r
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or request