"src/diffusers/models/unet_blocks.py" did not exist on "e7fe901e5ee689681179e37f8dca14cec59d04e7"
Unverified Commit 3f3eb19a authored by Bruce MacDonald's avatar Bruce MacDonald Committed by GitHub
Browse files

document response in modelfile template variables (#1428)

parent 059ae458
...@@ -157,9 +157,10 @@ PARAMETER <parameter> <parametervalue> ...@@ -157,9 +157,10 @@ 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. |
| `{{ .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. | | `{{ .First }}` | A boolean value used to render specific template information for the first generation of a session. |
```modelfile ```modelfile
......
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