Skip to main content

Module anthropic

Module anthropic 

Source
Expand description

Anthropic Claude client.

Structsยง

AnalysisResponse ๐Ÿ”’
Parsed analysis response.
AnthropicClient
Anthropic Claude LLM client.
ContentBlock ๐Ÿ”’
A content block in the response.
Message ๐Ÿ”’
A message in the conversation.
MessagesRequest ๐Ÿ”’
Request to the Messages API.
MessagesResponse ๐Ÿ”’
Response from the Messages API.

Functionsยง

escape_xml ๐Ÿ”’
Escapes XML special characters to prevent prompt injection (SEC-M3).