From 997c903884b08aef53d0f92634f74bdb64f05c0a Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Thu, 25 Jul 2024 16:23:40 -0700 Subject: [PATCH] Update docs/template.md Co-authored-by: Jeffrey Morgan --- docs/template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/template.md b/docs/template.md index 8f41e8fb..f6ce06ba 100644 --- a/docs/template.md +++ b/docs/template.md @@ -24,7 +24,7 @@ In this example, we have: * Three variables: `Messages`, `Role`, and `Content` (variables) * A custom function (action) that iterates over an array of items (`range .Messages`) and displays each item -## Adding Templates to Your Model +## Adding templates to your model By default, models imported into Ollama have a default template of `{{ .Prompt }}`, i.e. user inputs are sent verbatim to the LLM. This is appropriate for text or code completion models but lacks essential markers for chat or instruction models.