Back to Home
Aiden12581 icon

SpringAIAlibaba

Verified Safe

by 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

Run Command
cd SAA-04StreamingOutput && mvn spring-boot:run

Environment 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

Stats

Interest Score42
Security Score9
Cost ClassMedium
Avg Tokens300
Stars1
Forks0
Last Update2025-11-28

Tags

Spring AIAlibaba DashScopeLLMRAGTool Calling