Classes | |
| class | AnthropicConversationEntity |
Functions | |
| ToolParam | _format_tool (llm.Tool tool, Callable[[Any], Any]|None custom_serializer) |
| MessageParam | _message_convert (Message message) |
| None | async_setup_entry (HomeAssistant hass, AnthropicConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| int | MAX_TOOL_ITERATIONS = 10 |
Conversation support for Anthropic.
|
private |
Format tool specification.
Definition at line 59 of file conversation.py.
|
private |
Convert from class to TypedDict.
Definition at line 70 of file conversation.py.
| None homeassistant.components.anthropic.conversation.async_setup_entry | ( | HomeAssistant | hass, |
| AnthropicConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Set up conversation entities.
Definition at line 49 of file conversation.py.
| int homeassistant.components.anthropic.conversation.MAX_TOOL_ITERATIONS = 10 |
Definition at line 46 of file conversation.py.