Class DashScopeAutoConfiguration
java.lang.Object
io.agentscope.spring.boot.dashscope.DashScopeAutoConfiguration
@AutoConfiguration(before=io.agentscope.spring.boot.AgentscopeAutoConfiguration.class)
@EnableConfigurationProperties(DashScopeProperties.class)
@ConditionalOnClass(io.agentscope.extensions.model.dashscope.DashScopeChatModel.class)
public class DashScopeAutoConfiguration
extends Object
Spring Boot auto-configuration for the DashScope model extension.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.agentscope.extensions.model.dashscope.DashScopeChatModeldashScopeChatModel(DashScopeProperties properties, org.springframework.beans.factory.ObjectProvider<DashScopeChatModelBuilderCustomizer> customizerObjectProvider)
-
Constructor Details
-
DashScopeAutoConfiguration
public DashScopeAutoConfiguration()
-
-
Method Details
-
dashScopeChatModel
@Bean @ConditionalOnDashScopeProvider @ConditionalOnProperty(prefix="agentscope.dashscope", name="enabled", havingValue="true", matchIfMissing=true) @ConditionalOnMissingBean(io.agentscope.core.model.Model.class) public io.agentscope.extensions.model.dashscope.DashScopeChatModel dashScopeChatModel(DashScopeProperties properties, org.springframework.beans.factory.ObjectProvider<DashScopeChatModelBuilderCustomizer> customizerObjectProvider)
-