Contents:
Text
Text.content
Text.__init__()
Image
Image.source
Image.media_type
Image.detail
Image.file()
Image.url()
Image.base64()
Image.__init__()
Document
Document.source
Document.doc_type
Document.extract_text
Document.cache
Document.from_pdf()
Document.from_url()
Document.__init__()
User
User.__init__()
User.content
Assistant
Assistant.__init__()
Assistant.content
System
System.content
System.__init__()
ToolCall
ToolCall.name
ToolCall.arguments
ToolCall.id
ToolCall.__init__()
ToolUse
ToolUse.name
ToolUse.arguments
ToolUse.result
ToolUse.error
ToolUse.id
ToolUse.__init__()
Tool
Tool.__init__()
Tool.name
Tool.description
Tool.params
Tool.validate_arguments()
Prompt
Prompt.__init__()
Prompt.simple()
Prompt.with_tools()
Prompt.with_schema()
Prompt.serialize()
Prompt.deserialize()
Message
Message.content
Message.__init__()
TextMessage
TextMessage.content
TextMessage.__init__()
LLMResponse
LLMResponse.raw_response
LLMResponse.tools
LLMResponse.raise_for_status()
LLMResponse.__init__()
LLMResponse.text()
LLMResponse.messages()
LLMResponse.tool_call()
LLMResponse.tool_calls()
LLMResponse.text_messages()
OpenAIParams
OpenAIParams.max_tokens
OpenAIParams.model
OpenAIParams.temperature
OpenAIParams.__init__()
OpenAIExecutor
OpenAIExecutor.Converters
OpenAIExecutor.parse_openai_response()
OpenAIExecutor.__init__()
OpenAIExecutor.execute()
block_to_openai_messages()
content_list_to_openai()
tool_to_openai()
flatten_messages()
parse_openai_response()
AnthropicParams
AnthropicParams.max_tokens
AnthropicParams.model
AnthropicParams.temperature
AnthropicParams.__init__()
ClaudeExecutor
ClaudeExecutor.Converters
ClaudeExecutor.parse_anthropic_response()
ClaudeExecutor.__init__()
ClaudeExecutor.execute()
block_to_anthropic_content()
content_list_to_anthropic()
tool_to_anthropic()
merge_consecutive_roles()
parse_anthropic_response()