You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/vllm.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,11 @@ You can then query the model in shell by passing a prompt and either
28
28
1. a [JSON Schema][jsonschema]{:target="_blank"} specification or
29
29
2. a [Regex][regex]{:target="_blank"} pattern
30
30
31
+
<<<<<<< HEAD
31
32
with the `schema` or `regex` parameters, respectively, to the `/generate` endpoint. If both are specified, the schema will be used. If neither is specified, the generated text will be unconstrained.
33
+
=======
34
+
with the `schema`, `regex` or `cfg` parameters, respectively, to the `/generate` endpoint. If both are specified, the schema will be used. If neither is specified, the generated text will be unconstrained.
35
+
>>>>>>> 43ff5c5 (Expect vllm.LLMEngine as processor's argument)
32
36
33
37
For example, to generate a string that matches the schema `{"type": "string"}` (any string):
0 commit comments