Commit 1657c6ab authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

add note to specify JSON in the prompt when using JSON mode

parent 12e046f1
...@@ -51,7 +51,9 @@ Advanced parameters (optional): ...@@ -51,7 +51,9 @@ Advanced parameters (optional):
### JSON mode ### JSON mode
Enable JSON mode by setting the `format` parameter to `json` and specifying the model should use JSON in the `prompt`. This will structure the response as valid JSON. See the JSON mode [example](#request-json-mode) below. Enable JSON mode by setting the `format` parameter to `json`. This will structure the response as valid JSON. See the JSON mode [example](#request-json-mode) below.
> Note: it's important to instruct the model to use JSON in the `prompt`. Otherwise, the model may generate large amounts whitespace.
### Examples ### Examples
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment