]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
readme : rename result_format to response_format (#9300)
authorPascal Patry <redacted>
Wed, 4 Sep 2024 06:45:40 +0000 (02:45 -0400)
committerGitHub <redacted>
Wed, 4 Sep 2024 06:45:40 +0000 (09:45 +0300)
grammars/README.md

index 01b02abb4de9c369534e759c3458c3b49c3ee544..7ec8154715457df59af237637b7efa0b037734b9 100644 (file)
@@ -120,7 +120,7 @@ You can use GBNF grammars:
 
 - In [llama-server](../examples/server):
     - For any completion endpoints, passed as the `json_schema` body field
-    - For the `/chat/completions` endpoint, passed inside the `result_format` body field (e.g. `{"type", "json_object", "schema": {"items": {}}}`)
+    - For the `/chat/completions` endpoint, passed inside the `response_format` body field (e.g. `{"type", "json_object", "schema": {"items": {}}}`)
 - In [llama-cli](../examples/main), passed as the `--json` / `-j` flag
 - To convert to a grammar ahead of time:
     - in CLI, with [examples/json_schema_to_grammar.py](../examples/json_schema_to_grammar.py)