Skip to content

Commit c68bd60

Browse files
iscyarthw
authored andcommitted
readme : rename result_format to response_format (ggml-org#9300)
1 parent f26f39a commit c68bd60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ You can use GBNF grammars:
120120

121121
- In [llama-server](../examples/server):
122122
- For any completion endpoints, passed as the `json_schema` body field
123-
- For the `/chat/completions` endpoint, passed inside the `result_format` body field (e.g. `{"type", "json_object", "schema": {"items": {}}}`)
123+
- For the `/chat/completions` endpoint, passed inside the `response_format` body field (e.g. `{"type", "json_object", "schema": {"items": {}}}`)
124124
- In [llama-cli](../examples/main), passed as the `--json` / `-j` flag
125125
- To convert to a grammar ahead of time:
126126
- in CLI, with [examples/json_schema_to_grammar.py](../examples/json_schema_to_grammar.py)

0 commit comments

Comments
 (0)