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
Context-Engine
A Retrieval-Augmented Generation (RAG) stack for codebases, enabling context-aware AI agents for developers and IDEs through unified code indexing, hybrid search, and local LLM integration.
ai-learning
This repository serves as a comprehensive learning roadmap for mastering Generative AI and Agentic AI, covering foundational concepts in machine learning, deep learning, NLP, MLOps, and advanced topics like LLMs, RAG, and agentic frameworks.
llama-stack-mcp-server
Provides a comprehensive REST API for HR operations, designed to be integrated as a tool for AI agents via the Model Context Protocol (MCP).
spring-ai-resos
Develops an AI-enhanced restaurant booking system that allows users to converse with a chatbot to search for restaurants and make reservations.