From 3f3eb19a3be51eda0504c0f9c411f134d9f04920 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Mon, 8 Jan 2024 14:38:51 -0500 Subject: [PATCH] document response in modelfile template variables (#1428) --- docs/modelfile.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/modelfile.md b/docs/modelfile.md index 9f012673..6134bf9c 100644 --- a/docs/modelfile.md +++ b/docs/modelfile.md @@ -156,11 +156,12 @@ PARAMETER #### Template Variables -| Variable | Description | -| --------------- | ------------------------------------------------------------------------------------------------------------- | -| `{{ .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. | -| `{{ .First }}` | A boolean value used to render specific template information for the first generation of a session. | +| Variable | Description | +| ----------------- | ------------------------------------------------------------------------------------------------------------- | +| `{{ .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. | +| `{{ .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 TEMPLATE """