Calling Bailian Agents and Workflow Applications in Spring AI
This guide explains how to call Alibaba Cloud Bailian agents and workflow applications using Spring AI Alibaba.
Prerequisites
- Spring AI Alibaba dependency has been added
- Bailian API Key has been configured
- An application has been created and published in the Bailian console
Usage Example
Streaming Calls
Configuration Properties
| Configuration | Description | Default Value |
|---|---|---|
| spring.ai.dashscope.api-key | API Key | - |
| spring.ai.dashscope.app.id | Application ID | - |
| spring.ai.dashscope.app.workspace-id | Workspace ID | - |