Anthropic Provider¶
silverlingua_anthropic
¶
The Anthropic module provides implementations of SilverLingua's core components using the Anthropic API.
This module includes: - AnthropicChatAgent: An agent that uses Anthropic's chat completion API - AnthropicModel: A model that uses Anthropic's API - AnthropicChatRole: Role definitions for Anthropic's chat format
AnthropicChatRole
module-attribute
¶
AnthropicChatRole = create_chat_role('AnthropicChatRole', SYSTEM='system', HUMAN='user', AI='assistant', TOOL_CALL='assistant', TOOL_RESPONSE='tool')
anthropic_module
module-attribute
¶
anthropic_module = Module(name='Anthropic', description='Adds Anthropic models and agents.', version='1.0.0', tools=[], chat_roles=[AnthropicChatRole], react_roles=[])
options: members: true show_root_heading: true show_source: true show_submodules: true