qifan777/dive-into-spring-ai
About
《Learn Spring AI by Doing》 covers SSE streaming, agent-based AI, knowledge graph RAG, FunctionCall, message history, image generation and understanding, Embedding, VectorDatabase, and RAG.
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original项目介绍
本项目使用SpringAI教学,包含了SSE流/Agent智能体/FunctionCall/Embedding/VectorDatabase/RAG/Graph RAG/历史消息/图片生成/图片理解


起凡 API 中转:Codex / Claude
提供 Codex 与 Claude API 中转服务,兼容 OpenAI 协议,可直接集成到项目中使用。注册即赠送 25 刀额度。
运行环境
Java 17
Node.js 18+
MySQL 8
DashScope API KEY(或者其他)。如果使用 OpenAI 协议模型,可以前往 起凡 AI 中转站 注册,赠送25刀额度,支持 OpenAI 协议。
Redis-Stack
redis基础上拓展向量查询功能
docker run -d \ --name redis-stack \ --restart=always \ -v redis-data:/data \ -p 6379:6379 \ -p 8001:8001 \ -e REDIS_ARGS="--requirepass 123456" redis/redis-stack:latestneo4j 5+
安装完neo4j访问
localhost:7474, 默认的账号密码都是neo4j和neo4j。docker run \ -d \ -p 7474:7474 -p 7687:7687 \ -v neo4j-data:/data -v neo4j-data:/plugins \ --name neo4j \ -e NEO4J_apoc_export_file_enabled=true \ -e NEO4J_apoc_import_file_enabled=true \ -e NEO4J_apoc_import_file_use__neo4j__config=true \ -e NEO4JLABS_PLUGINS=\[\"apoc\"\] \ -e NEO4J_dbms_security_procedures_unrestricted=apoc.\\\* \ neo4j
运行步骤
1.clone代码
git clone https://github.com/qifan777/dive-into-spring-ai
2. idea打开项目
3. 修改配置文件
修改 application.yml 中的 API-KEY、MySQL、Redis-Stack、Neo4j 配置。
如果使用 OpenAI 协议模型,可以在 spring.ai.openai 中配置:
base-url:填写http://ai.jarcheng.top(不带/v1)api-key:填写中转站控制台创建的 API Key
4. 运行项目
后端运行
- 运行ServerApplication.java
- target/generated-sources/annotations右键mark directory as/generated source root
前端运行,在front-end目录下
- npm run install
- npm run api (先运行后端)
- npm run dev
联系方式
gpt/claude/gemini/grok/muse代充:ljc666max
详细价格查看https://shop.jarcheng.top/
其他关于程序运行安装报错请加QQ群:
- 416765656(满)
- 632067985(满)
- 1102705673
Explore related projects
Loading…