AS AgentScopeAPI 手册 / API Reference

AnthropicAutoConfiguration

@AutoConfiguration(before = AgentscopeAutoConfiguration.class) @EnableConfigurationProperties(AnthropicProperties.class) @ConditionalOnClass(AnthropicChatModel.class) public class AnthropicAutoConfiguration
源码Source io/agentscope/spring/boot/anthropic/AnthropicAutoConfiguration.java:32–86

Anthropic Auto 配置,保存相关配置项。位于 io.agentscope.spring.boot.anthropic 包。核心成员包括 anthropicChatModel。

Spring Boot auto-configuration for the Anthropic model extension.

方法摘要Method Summary

方法Method说明Description
public AnthropicChatModel anthropicChatModel(AnthropicProperties properties, ObjectProvider<AnthropicChatModelBuilderCustomizer> customizerObjectProvider)
执行 `anthropicChatModel` 方法。
Performs the anthropic chat model operation.

方法详情Method Detail

anthropicChatModel

public AnthropicChatModel anthropicChatModel(AnthropicProperties properties, ObjectProvider<AnthropicChatModelBuilderCustomizer> customizerObjectProvider)

执行 anthropicChatModel 方法。

Performs the anthropic chat model operation.

参数Parameters
名称Name类型Type说明Description
propertiesAnthropicProperties属性(类型 `AnthropicProperties`)。The properties.
customizerObjectProviderObjectProvider<AnthropicChatModelBuilderCustomizer>customizer 对象提供者(类型 `ObjectProvider`)。The customizer object provider.
返回Returns AnthropicChatModel
返回AnthropicChatModel。Returns Anthropic chat model.
源码Source io/agentscope/spring/boot/anthropic/AnthropicAutoConfiguration.java:37–77
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.