document response in modelfile template variables (#1428)
This commit is contained in:
parent
059ae4585e
commit
3f3eb19a3b
1 changed files with 6 additions and 5 deletions
|
@ -156,11 +156,12 @@ PARAMETER <parameter> <parametervalue>
|
||||||
|
|
||||||
#### Template Variables
|
#### Template Variables
|
||||||
|
|
||||||
| Variable | Description |
|
| Variable | Description |
|
||||||
| --------------- | ------------------------------------------------------------------------------------------------------------- |
|
| ----------------- | ------------------------------------------------------------------------------------------------------------- |
|
||||||
| `{{ .System }}` | The system message used to specify custom behavior, this must also be set in the Modelfile as an instruction. |
|
| `{{ .System }}` | The system message used to specify custom behavior, this must also be set in the Modelfile as an instruction. |
|
||||||
| `{{ .Prompt }}` | The incoming prompt, this is not specified in the model file and will be set based on input. |
|
| `{{ .Prompt }}` | The incoming prompt, this is not specified in the model file and will be set based on input. |
|
||||||
| `{{ .First }}` | A boolean value used to render specific template information for the first generation of a session. |
|
| `{{ .Response }}` | The response from the LLM, if not specified response is appended to the end of the template. |
|
||||||
|
| `{{ .First }}` | A boolean value used to render specific template information for the first generation of a session. |
|
||||||
|
|
||||||
```modelfile
|
```modelfile
|
||||||
TEMPLATE """
|
TEMPLATE """
|
||||||
|
|
Loading…
Reference in a new issue