Fix issues with /set template and /set system (#1486)

This commit is contained in:
Jeffrey Morgan
2023-12-12 14:43:19 -05:00
committed by GitHub
parent 3144e2a439
commit 0a9d348023
5 changed files with 38 additions and 37 deletions

View File

@@ -44,7 +44,7 @@ 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`)
- `system`: system message to (overrides what is defined in the `Modelfile`)
- `template`: the full prompt or prompt template (overrides what is defined in the `Modelfile`)
- `context`: the context parameter returned from a previous request to `/generate`, this can be used to keep a short conversational memory
- `stream`: if `false` the response will be returned as a single response object, rather than a stream of objects
@@ -548,7 +548,7 @@ A single JSON object will be returned.
POST /api/show
```
Show details about a model including modelfile, template, parameters, license, and system prompt.
Show details about a model including modelfile, template, parameters, license, and system message.
### Parameters