Index

A B C D E F G I M P S T 
All Classes and Interfaces|All Packages|Constant Field Values

A

AnthropicBaseFormatter - Class in io.agentscope.extensions.model.anthropic.formatter
Abstract base formatter for Anthropic API with shared logic for handling Anthropic-specific requirements.
AnthropicBaseFormatter() - Constructor for class io.agentscope.extensions.model.anthropic.formatter.AnthropicBaseFormatter
 
AnthropicChatFormatter - Class in io.agentscope.extensions.model.anthropic.formatter
Formatter for Anthropic Messages API.
AnthropicChatFormatter() - Constructor for class io.agentscope.extensions.model.anthropic.formatter.AnthropicChatFormatter
 
AnthropicChatModel - Class in io.agentscope.extensions.model.anthropic
Anthropic Chat Model implementation using the official Anthropic Java SDK.
AnthropicChatModel(String, String, String, boolean, GenerateOptions, AnthropicBaseFormatter, ProxyConfig, String) - Constructor for class io.agentscope.extensions.model.anthropic.AnthropicChatModel
 
AnthropicChatModel(String, String, String, String, boolean, GenerateOptions, AnthropicBaseFormatter, ProxyConfig, String) - Constructor for class io.agentscope.extensions.model.anthropic.AnthropicChatModel
Creates an Anthropic chat model with optional bearer token authentication.
AnthropicChatModel.Builder - Class in io.agentscope.extensions.model.anthropic
Builder for AnthropicChatModel.
AnthropicConversationMerger - Class in io.agentscope.extensions.model.anthropic.formatter
Merges multi-agent conversation messages into a formatted conversation history for Anthropic API.
AnthropicConversationMerger() - Constructor for class io.agentscope.extensions.model.anthropic.formatter.AnthropicConversationMerger
 
AnthropicCredential - Class in io.agentscope.extensions.model.anthropic.credential
Credential for the Anthropic API.
AnthropicCredential.Builder - Class in io.agentscope.extensions.model.anthropic.credential
 
AnthropicMediaConverter - Class in io.agentscope.extensions.model.anthropic.formatter
Handles media content conversion for Anthropic API.
AnthropicMediaConverter() - Constructor for class io.agentscope.extensions.model.anthropic.formatter.AnthropicMediaConverter
 
AnthropicMessageConverter - Class in io.agentscope.extensions.model.anthropic.formatter
Converts AgentScope Msg objects to Anthropic SDK MessageParam types.
AnthropicMessageConverter(Function<List<ContentBlock>, String>) - Constructor for class io.agentscope.extensions.model.anthropic.formatter.AnthropicMessageConverter
Create an AnthropicMessageConverter with required dependency functions.
AnthropicModelProvider - Class in io.agentscope.extensions.model.anthropic
Anthropic provider registered through ServiceLoader.
AnthropicModelProvider() - Constructor for class io.agentscope.extensions.model.anthropic.AnthropicModelProvider
 
AnthropicMultiAgentFormatter - Class in io.agentscope.extensions.model.anthropic.formatter
Multi-agent formatter for Anthropic Messages API.
AnthropicMultiAgentFormatter() - Constructor for class io.agentscope.extensions.model.anthropic.formatter.AnthropicMultiAgentFormatter
Create an AnthropicMultiAgentFormatter with default conversation history prompt.
AnthropicMultiAgentFormatter(String) - Constructor for class io.agentscope.extensions.model.anthropic.formatter.AnthropicMultiAgentFormatter
Create an AnthropicMultiAgentFormatter with custom conversation history prompt.
AnthropicResponseParser - Class in io.agentscope.extensions.model.anthropic.formatter
Parses Anthropic API responses (both streaming and non-streaming) into AgentScope ChatResponse objects.
AnthropicResponseParser() - Constructor for class io.agentscope.extensions.model.anthropic.formatter.AnthropicResponseParser
 
AnthropicToolsHelper - Class in io.agentscope.extensions.model.anthropic.formatter
Helper class for tool registration and option application for Anthropic API.
AnthropicToolsHelper() - Constructor for class io.agentscope.extensions.model.anthropic.formatter.AnthropicToolsHelper
 
apiKey(String) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Sets the API key for authentication.
apiKey(String) - Method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential.Builder
 
applyCacheControl(List<MessageParam>) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicBaseFormatter
Apply the automatic cache control strategy to formatted messages.
applyOptions(MessageCreateParams.Builder, GenerateOptions, GenerateOptions) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicBaseFormatter
Apply generation options to Anthropic request parameters.
applyOptions(MessageCreateParams.Builder, GenerateOptions, GenerateOptions) - Static method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicToolsHelper
Apply generation options to the builder.
applySystemMessage(MessageCreateParams.Builder, List<Msg>) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicBaseFormatter
Extract and apply system message if present.
applySystemMessage(MessageCreateParams.Builder, List<Msg>, boolean) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicBaseFormatter
Extract and apply system message if present, optionally marking it for prompt caching.
applyTools(MessageCreateParams.Builder, List<ToolSchema>) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicBaseFormatter
Apply tool schemas to Anthropic request parameters.
applyTools(MessageCreateParams.Builder, List<ToolSchema>, GenerateOptions) - Static method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicToolsHelper
Apply tools to the message create params builder.
applyTools(MessageCreateParams.Builder, List<ToolSchema>, GenerateOptions, String) - Static method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicToolsHelper
Apply tools to the message create params builder with an optional cache TTL.
authToken(String) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Sets the bearer token for authentication with an Anthropic-compatible gateway.

B

baseUrl(String) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Sets the base URL for the Anthropic API.
baseUrl(String) - Method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential.Builder
 
build() - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Builds the AnthropicChatModel instance.
build() - Method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential.Builder
 
builder() - Static method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel
Creates a builder for constructing AnthropicChatModel instances.
builder() - Static method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential
 
Builder() - Constructor for class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
 

C

cacheTtl(String) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Sets the TTL for prompt-caching markers (e.g.
cacheTtl(String) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicBaseFormatter
Configure the TTL applied to prompt-caching markers (e.g.
contextWindowSize(int) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
 
convert(List<Msg>) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicMessageConverter
Convert list of Msg to list of Anthropic MessageParam.
convertDataBlock(DataBlock) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicMediaConverter
Convert DataBlock to Anthropic ImageBlockParam by resolving MIME type and routing to image.
convertImageBlock(ImageBlock) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicMediaConverter
Convert ImageBlock to Anthropic ImageBlockParam.
create(String) - Method in class io.agentscope.extensions.model.anthropic.AnthropicModelProvider
 
create(String, ModelCreationContext) - Method in class io.agentscope.extensions.model.anthropic.AnthropicModelProvider
 

D

defaultOptions(GenerateOptions) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Sets default generation options.
doFormat(List<Msg>) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicChatFormatter
 
doFormat(List<Msg>) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicMultiAgentFormatter
 
doStream(List<Msg>, List<ToolSchema>, GenerateOptions) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel
Stream chat completion responses from Anthropic's API.

E

extractSystemMessage(List<Msg>) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicMessageConverter
Extract system message content if present in the first message.

F

formatter(AnthropicBaseFormatter) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Sets a custom formatter.

G

getApiKey() - Method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential
 
getBaseUrl() - Method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential
 
getChatModelClass() - Method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential
 
getModelName() - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel
Gets the model name for logging and identification.
getType() - Method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential
 

I

id(String) - Method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential.Builder
 
io.agentscope.extensions.model.anthropic - package io.agentscope.extensions.model.anthropic
 
io.agentscope.extensions.model.anthropic.credential - package io.agentscope.extensions.model.anthropic.credential
 
io.agentscope.extensions.model.anthropic.formatter - package io.agentscope.extensions.model.anthropic.formatter
 

M

mergeConversation(List<Msg>, String) - Static method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicConversationMerger
Merge conversation messages into formatted blocks with history tags.
messageConverter - Variable in class io.agentscope.extensions.model.anthropic.formatter.AnthropicBaseFormatter
 
modelName(String) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Sets the model name.

P

parseMessage(Message, Instant) - Static method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicResponseParser
Parse non-streaming Anthropic Message to ChatResponse.
parseResponse(Object, Instant) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicChatFormatter
 
parseResponse(Object, Instant) - Method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicMultiAgentFormatter
 
parseStreamEvents(Flux<RawMessageStreamEvent>, Instant) - Static method in class io.agentscope.extensions.model.anthropic.formatter.AnthropicResponseParser
Parse streaming Anthropic events to ChatResponse Flux.
providerId() - Method in class io.agentscope.extensions.model.anthropic.AnthropicModelProvider
 
proxy(ProxyConfig) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Sets the proxy configuration for HTTP traffic.

S

stream(boolean) - Method in class io.agentscope.extensions.model.anthropic.AnthropicChatModel.Builder
Enables or disables streaming.
supports(String) - Method in class io.agentscope.extensions.model.anthropic.AnthropicModelProvider
 

T

toString() - Method in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential
 
TYPE - Static variable in class io.agentscope.extensions.model.anthropic.credential.AnthropicCredential
 
A B C D E F G I M P S T 
All Classes and Interfaces|All Packages|Constant Field Values