SpringAIAlibaba
Verified Safeby Aiden12581
Overview
This repository provides a collection of Spring AI examples demonstrating various integrations with Alibaba Cloud's DashScope platform, covering chat, streaming, prompt engineering, structured output, memory, text-to-image, text-to-speech, embeddings, RAG, and tool calling.
Installation
cd SAA-04StreamingOutput && mvn spring-boot:runEnvironment Variables
- aliQwen-api
- spring.ai.dashscope.api-key
- spring.ai.dashscope.agent.options.app-id
- spring.data.redis.host
- spring.data.redis.port
Security Notes
The code uses environment variables or Spring's @Value annotation for API keys and other sensitive configurations (e.g., aliQwen-api, Redis host/port, Bailian App ID), which is good practice and avoids hardcoded secrets. No 'eval' or other direct code injection vulnerabilities were found. Standard web application security considerations apply.
Similar Servers
llama-stack-mcp-server
Integrates HR operations (employee, vacation, job, performance management) into a Llama Stack AI agent as a custom Model Context Protocol (MCP) tool.
Little_MCP
A local AI assistant leveraging Retrieval-Augmented Generation (RAG) and multi-tool agents for document Q&A, real-time information, and SQL database interaction.
springboot-mcp-server
An AI-powered Spring Boot server for student management, demonstrating tool-use capabilities with an external large language model.
spring-ai-resos
AI-powered conversational interface for managing restaurant bookings, customers, orders, and feedback through tool invocation.