mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-17 05:00:25 +00:00
Document difference between templates and fragments, cloess #918
!stable-docs
This commit is contained in:
parent
4279df23a4
commit
3f25bb8bc9
1 changed files with 4 additions and 2 deletions
|
|
@ -1,11 +1,13 @@
|
|||
(prompt-templates)=
|
||||
# Templates
|
||||
|
||||
Templates can be created for prompts to make them reusable and shareable.
|
||||
A **template** can combine a prompt, system prompt, model, default model options, schema, and fragments into a single reusable unit.
|
||||
|
||||
Only one template can be used at a time. To compose multiple shorter pieces of prompts together consider using {ref}`fragments <fragments>` instead.
|
||||
|
||||
(prompt-templates-save)=
|
||||
|
||||
## Getting started with --save
|
||||
## Getting started with <code>--save</code>
|
||||
|
||||
The easiest way to create a template is using the `--save template_name` option.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue