mirror of
https://github.com/ollama/ollama.git
synced 2025-05-10 18:06:33 +02:00
embed text document in modelfile
This commit is contained in:
parent
34a13a9d05
commit
a6f6d18f83
8 changed files with 330 additions and 59 deletions
|
@ -40,7 +40,7 @@ func Parse(reader io.Reader) ([]Command, error) {
|
|||
command.Args = string(fields[1])
|
||||
// copy command for validation
|
||||
modelCommand = command
|
||||
case "LICENSE", "TEMPLATE", "SYSTEM", "PROMPT":
|
||||
case "LICENSE", "TEMPLATE", "SYSTEM", "PROMPT", "EMBED":
|
||||
command.Name = string(bytes.ToLower(fields[0]))
|
||||
command.Args = string(fields[1])
|
||||
case "PARAMETER":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue