Spring Ai Alibaba
Connects your AI applications to Alibaba Cloud services via Spring Integration for seamless data access and automation.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add spring-ai-alibaba npx -- -y @trustedskills/spring-ai-alibaba
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"spring-ai-alibaba": {
"command": "npx",
"args": [
"-y",
"@trustedskills/spring-ai-alibaba"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, Spring AI Alibaba, provides integration with Alibaba Cloud's DashScope (Tongyi Qianwen) large language models within your Spring applications. It allows you to leverage these powerful models for tasks like text generation and conversation through a simplified interface using Spring Integration. You can easily access and utilize Alibaba’s LLMs directly from your Java code. The skill supports both standard chat requests and streaming responses.
When to use it
- Building AI-powered applications that require natural language processing capabilities.
- Integrating Alibaba Cloud's large language models into existing Spring projects.
- Developing chatbots or conversational interfaces using Tongyi Qianwen.
- Automating tasks that involve generating text based on specific prompts and styles.
- When you need to access the
qwen-turbo,qwen-plusorqwen-maxmodels from Alibaba Cloud.
Key capabilities
- Integration with Alibaba DashScope (Tongyi Qianwen) large language models.
- Support for standard chat requests and streaming responses.
- Configurable model selection (
qwen-turbo,qwen-plus,qwen-max). - Prompt templating to customize input to the LLM.
- Easy integration via Spring Integration dependencies.
Example prompts
- "Use the chat service with the message: 'What is the capital of France?'"
- "Call the chat service with a prompt: 'Please write a short poem about cats.'"
- "Generate a prompt using the PromptService with style 'humorous' and question 'Explain quantum physics to me like I’m five'."
Tips & gotchas
- You will need an Alibaba Cloud account and API key (
DASHSCOPE_API_KEY) to use this skill. - Ensure you have included the
spring-ai-starter-model-aliyun-dashscopedependency in your project's build file (Maven or Gradle). - The available models are
qwen-turbo,qwen-plus, andqwen-max. Choose the model that best suits your performance requirements.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.