Class DashScopeAgent
java.lang.Object
com.alibaba.cloud.ai.agent.Agent
com.alibaba.cloud.ai.dashscope.agent.DashScopeAgent
Title DashScope low level agent.
Description DashScope low level agent.
Description DashScope low level agent.
- Since:
- 1.0.0-M2
- Author:
- yuanci.ytb
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDashScopeAgent(DashScopeAgentApi dashScopeAgentApi, DashScopeAgentOptions defaultOptions) -
Method Summary
Modifier and TypeMethodDescriptionstatic DashScopeAgent.Builderbuilder()org.springframework.ai.chat.model.ChatResponsecall(org.springframework.ai.chat.prompt.Prompt prompt) call with chat modelclone()mutate()reactor.core.publisher.Flux<org.springframework.ai.chat.model.ChatResponse>stream(org.springframework.ai.chat.prompt.Prompt prompt) stream call with chat model
-
Constructor Details
-
DashScopeAgent
-
-
Method Details
-
call
public org.springframework.ai.chat.model.ChatResponse call(org.springframework.ai.chat.prompt.Prompt prompt) Description copied from class:Agentcall with chat model -
stream
public reactor.core.publisher.Flux<org.springframework.ai.chat.model.ChatResponse> stream(org.springframework.ai.chat.prompt.Prompt prompt) Description copied from class:Agentstream call with chat model -
clone
-
mutate
-
builder
-