raw method
Enables or disables raw mode
When enabled, no formatting will be applied to the prompt. The model will receive the exact prompt without any template processing.
- true: Raw mode (no prompt formatting)
- false: Normal mode with prompt templates (default)
Implementation
OllamaBuilder raw(bool enabled) {
_baseBuilder.extension('raw', enabled);
return this;
}