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
string_format("how much the prompt of a request must match the prompt of a slot in order to use that slot (default: %.2f, 0.0 = disabled)\n", params.slot_prompt_similarity),
Copy file name to clipboardExpand all lines: examples/server/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@ The project is under active development, and we are [looking for feedback and co
129
129
|`--grammar GRAMMAR`| BNF-like grammar to constrain generations (see samples in grammars/ dir) (default: '') |
130
130
|`--grammar-file FNAME`| file to read grammar from |
131
131
|`-j, --json-schema SCHEMA`| JSON schema to constrain generations (https://json-schema.org/), e.g. `{}` for any JSON object<br/>For schemas w/ external $refs, use --grammar + example/json_schema_to_grammar.py instead |
// if a custom chat template is not supplied, we will use the one that comes with the model (if any)
4113
4152
if (params.chat_template.empty()) {
4114
-
if (!ctx_server.validate_model_chat_template()) {
4153
+
if (!ctx_server.validate_model_chat_template(params.use_jinja)) {
4115
4154
LOG_WRN("%s: The chat template that comes with this model is not yet supported, falling back to chatml. This may cause the model to output suboptimal responses\n", __func__);
0 commit comments