# zlt-spring-ai-app **Repository Path**: orcadev/zlt-spring-ai-app ## Basic Information - **Project Name**: zlt-spring-ai-app - **Description**: 基于 spring-ai 框架打造的智能应用 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 21 - **Created**: 2026-08-15 - **Last Updated**: 2026-08-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 文章清单 - 《[Spring AI与DeepSeek实战一:快速打造智能对话应用](https://mp.weixin.qq.com/s/Y4hRX5gmmGcSxc_YK0TAgw)》 - 《[Spring AI与DeepSeek实战二:打造企业级智能体](https://mp.weixin.qq.com/s/g73g6JpE73GcAEy8MygBlg)》 - 《[Spring AI与DeepSeek实战三:打造企业知识库](https://mp.weixin.qq.com/s/Hv11MahaaEfHJP4DEFi2tg)》   ## 接口清单 - 普通对话:http://localhost:8080/ai/chat - 模板对话:http://localhost:8080/ai/chatTemp - 流式对话:http://localhost:8080/ai/steamChat - 翻译:http://localhost:8080/agent/translate - RAG搜索:http://localhost:8080/rag/search   ## 页面清单 - 智能对话助手(模板对话):http://localhost:8080 - 智能对话助手(流式对话):http://localhost:8080/streamChat.html - 智能翻译助手:http://localhost:8080/translate.html   ## ai-orcarouter 模块 新增的 `ai-orcarouter` 模块演示如何通过 [OrcaRouter](https://www.orcarouter.ai) 网关(OpenAI 兼容)接入对话能力,配置与 `ai-alibaba` 模块一致,只需替换网关与模型: ```bash # 设置 OrcaRouter API Key export ORCAROUTER_API_KEY=sk-orca-xxxx # 启动 ai-orcarouter 模块 mvn -pl ai-orcarouter spring-boot:run ``` - 普通对话:http://localhost:8080/ai/chat - 模板对话:http://localhost:8080/ai/chatTemp - 流式对话:http://localhost:8080/ai/streamChat 网关地址与模型在 `ai-orcarouter/src/main/resources/application.yml` 中配置: ```yaml spring: ai: openai: api-key: ${ORCAROUTER_API_KEY} base-url: https://api.orcarouter.ai chat: options: model: orcarouter/fusion ```