AnthropicMultiModal
Python template · sinapsis_anthropic.templates.anthropic_multimodal
Overview
Template for multimodal Anthropic chat processing.
Capabilities
Capabilities: not setInstallation
Install the published package using pip or uv.
pip install sinapsis-anthropic==1.0.0uv pip install sinapsis-anthropic==1.0.0uv add sinapsis-anthropic==1.0.0Configuration
Effective fields from the inspector schema, including nested Pydantic model fields.
Optional
Default: null
Anthropic model configuration.
Required
Default: null
The name or path of the LLM model to use (e.g., 'claude-3-7-sonnet-latest', 'TheBloke/Llama-2-7B-GGUF').
Required
Default: null
Whether to enable Anthropic's web search tool.
Optional
Default: false
Anthropic generation arguments.
Required
Default: null
Top-k sampling parameter.
Optional
Default: null
Nucleus sampling parameter.
Optional
Default: null
Maximum number of tokens to generate.
Required
Default: null
Sampling temperature.
Optional
Default: null
Anthropic service tier.
Optional
Default: "standard_only"
Custom stop sequences.
Optional
Default: null
Provider-neutral structured output config.
Optional
Default: null
Output mode. Aliased to `type`.
Optional
Default: "text"
Optional schema used for structured JSON output. Aliased to `schema`.
Optional
Default: null
Required root property names.
Optional
Default: null
Root schema properties.
Optional
Default: null
Whether extra root-level fields are allowed.
Optional
Default: null
Optional
Default: true
Extended-thinking configuration.
Optional
Default: null
Whether extended thinking is enabled.
Optional
Default: "disabled"
Maximum tokens reserved for reasoning blocks.
Optional
Default: 2048
Optional
Default: "</think>"
Optional
Default: "<think>"
Configuration example
Example from the Python docstring:
agent:
name: my_test_agent
templates:
- template_name: InputTemplate
class_name: InputTemplate
attributes: {}
- template_name: AnthropicMultiModal
class_name: AnthropicMultiModal
template_input: LLMConversationInput
attributes:
init_args:
llm_model_name: claude-sonnet-4-6
completion_args:
max_tokens: 1024
temperature: 0.2
service_tier: standard_only
extended_thinking:
type: disabled
web_search: falseShow schema-based configuration skeleton
templates:
- template_name: "AnthropicMultiModal"
class_name: "AnthropicMultiModal"
attributes:
init_args:
llm_model_name: "<required>"
web_search: false
completion_args:
top_k: null
top_p: null
max_tokens: "<required>"
temperature: null
service_tier: "standard_only"
stop_sequences: null
response_format:
type_: "text"
schema_:
required: null
properties: null
additional_properties: null
cleanup_response: true
extended_thinking:
type: "disabled"
budget_tokens: 2048
reasoning_end_tag: "</think>"
reasoning_start_tag: "<think>"
Inheritance
sinapsis_chatbots_base.templates.llm_multimodal_base.LLMMultimodalTemplateBaseEnvironment variables
Environment definitions belong to their canonical Python modules.
No directly related environment variables listed.