Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
add embed docs for modelfile
Bruce MacDonald43c40c500e2f
diff --git a/docs/modelfile.md b/docs/modelfile.mdindex f49956cb8..a90cbc0d2 100644--- a/docs/modelfile.md+++ b/docs/modelfile.md@@ -12,6 +12,7 @@ A model file is the blueprint to create and share models with Ollama.- [FROM (Required)](#from-required)- [Build from llama2](#build-from-llama2)- [Build from a bin file](#build-from-a-bin-file)+ - [EMBED](#embed)- [PARAMETER](#parameter)- [Valid Parameters and Values](#valid-parameters-and-values)- [TEMPLATE](#template)@@ -88,6 +89,15 @@ FROM ./ollama-model.binThis bin file location should be specified as an absolute path or relative to the Modelfile location.+### EMBED++The EMBED instruction is used to add embeddings of files to a model. This is useful for adding custom data that the model can reference when generating an answer.++```+FROM <model name>:<tag>+EMBED <file path>+```+### PARAMETERThe `PARAMETER` instruction defines a parameter that can be set when the model is run.