You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`Temperature`| engine default (`0.1` for Ollama; unset for OpenAI) | Controls randomness; clamped to `[0,2]`. `gpt-5*` OpenAI models are forced to `0`. |
57
-
|`TopP`| engine default (`0.9` for some Ollama label defaults; unset for OpenAI) | Nucleus sampling parameter. |
The model `Options` adjust model parameters such as temperature, top-p, and schema constraints when using [Ollama](ollama/README.md) or [OpenAI](openai/README.md):
|`Temperature`| engine default (`0.1` for Ollama) | Controls randomness with a value between `0.01` and `2.0`; not used for OpenAI's GPT-5. |
59
+
|`TopK`| engine default (model-specific) | Limits sampling to the top K tokens to reduce rare or noisy outputs. |
60
+
|`TopP`| engine default (`0.9` for some Ollama label defaults; unset for OpenAI) | Nucleus sampling; keeps the smallest token set whose cumulative probability ≥ `p`. |
61
+
|`MinP`| engine default (unset unless provided) | Drops tokens whose probability mass is below `p`, trimming the long tail. |
62
+
|`TypicalP`| engine default (unset unless provided) | Keeps tokens with typicality under the threshold; combine with TopP/MinP for flow. |
63
+
|`Seed`| random per run (unless set) | Fix for reproducible outputs; unset for more variety between runs. |
64
+
|`RepeatLastN`| engine default (model-specific) | Number of recent tokens considered for repetition penalties. |
65
+
|`RepeatPenalty`| engine default (model-specific) | Multiplier >1 discourages repeating the same tokens or phrases. |
66
+
|`NumPredict`| engine default (Ollama only) | Ollama-specific max output tokens; synonymous intent with `MaxOutputTokens`. |
Used for Ollama/OpenAI (and any future HTTP engines). All credentials and identifiers support `${ENV_VAR}` expansion.
76
+
Configures the endpoint URL, method, format, and authentication for [Ollama](ollama/README.md), [OpenAI](openai/README.md), and other engines that perform remote HTTP requests:
@@ -78,6 +87,8 @@ Used for Ollama/OpenAI (and any future HTTP engines). All credentials and identi
78
87
|`FileScheme`| set by engine alias (`data` or `base64`) | Controls image transport. |
79
88
|`Disabled`|`false`| Disable the endpoint without removing the model. |
80
89
90
+
> **Authentication:** All credentials and identifiers support `${ENV_VAR}` expansion. `Service.Key` sets `Authorization: Bearer <token>`; `Username`/`Password` injects HTTP basic authentication into the service URI when it is not already present.
91
+
81
92
### Field Behavior & Precedence
82
93
83
94
- Model identifier resolution order: `Service.Model` → `Model` → `Name`. `Model.GetModel()` returns `(id, name, version)` where Ollama receives `name:version` and other engines receive `name` plus a separate `Version`.
0 commit comments