Unverified Commit 997c9038 authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Update docs/template.md


Co-authored-by: default avatarJeffrey Morgan <jmorganca@gmail.com>
parent 9b60a038
...@@ -24,7 +24,7 @@ In this example, we have: ...@@ -24,7 +24,7 @@ In this example, we have:
* Three variables: `Messages`, `Role`, and `Content` (variables) * Three variables: `Messages`, `Role`, and `Content` (variables)
* A custom function (action) that iterates over an array of items (`range .Messages`) and displays each item * 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. 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.
......
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