Flock allows you to configure model behavior through the model_parameters field in LLM function calls. This provides fine-grained control over how models generate responses, enabling you to optimize performance for specific use cases. This page is part of Resource Management. For batching and quotas, see Models.

Overview

Model parameters are passed within the model_parameters field—either in CREATE MODEL / UPDATE MODEL statements or inline in LLM function calls. Different providers support different parameters, allowing you to customize temperature, token limits, sampling methods, and more. For model configuration options such as max_batch_size, is_async, and rate_limit, see Models Management. Compatibility: Works with all Flock LLM functions - llm_complete, llm_filter, llm_embedding, llm_reduce, llm_rerank, llm_first, llm_last Each provider expresses structured JSON differently in model_parameters (for example OpenAI response_format, Ollama format, Anthropic output_format / tool-use). Check the Output section on each function page for examples — start with llm_complete and llm_reduce — and the provider pages under Getting Started for API-specific details.

OpenAI Parameters

OpenAI models support a comprehensive set of parameters for controlling generation behavior. For complete parameter reference, see OpenAI Chat Completions API.

Syntax

Example Usage

Ollama Parameters

Ollama models support different parameters optimized for local deployment. For complete parameter reference, see Ollama Chat Completions API.

Syntax

Example Usage

Azure OpenAI Parameters

Azure OpenAI supports the same parameters as OpenAI. For complete parameter reference, see OpenAI Chat Completions API.

Syntax

Common Parameter Patterns

Deterministic Output

Creative Generation

Code Generation

Anthropic Parameters

Anthropic Claude models use the Anthropic Messages API. Common parameters: