From df18486c35559f135639682488710218c30385e2 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Tue, 14 Nov 2023 16:12:30 -0500 Subject: [PATCH] Move /generate format to optional parameters (#1127) This field is optional and should be under the `Advanced parameters` header --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index e214ad7a..08402266 100644 --- a/docs/api.md +++ b/docs/api.md @@ -38,10 +38,10 @@ Generate a response for a given prompt with a provided model. This is a streamin - `model`: (required) the [model name](#model-names) - `prompt`: the prompt to generate a response for -- `format`: the format to return a response in. Currently the only accepted value is `json` Advanced parameters (optional): +- `format`: the format to return a response in. Currently the only accepted value is `json` - `options`: additional model parameters listed in the documentation for the [Modelfile](./modelfile.md#valid-parameters-and-values) such as `temperature` - `system`: system prompt to (overrides what is defined in the `Modelfile`) - `template`: the full prompt or prompt template (overrides what is defined in the `Modelfile`)