Skip to content

dong4j/spring-ai-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring AI Cookbook

Spring AI 教程项目,包含多个子模块,每个子模块演示 Spring AI 的不同功能特性。

项目结构

spring-ai-cookbook/
├── 1.spring-ai-started/                # 快速搭建 Spring AI 项目
├── 2.spring-ai-chat-client/            # Chat Client API
├── 3.spring-ai-prompts/                # 提示词管理
├── 4.spring-ai-structured/             # 结构化输出
├── 5.spring-ai-multimodality/          # 多模态 API
├── 6.spring-ai-model/                  # 模型 API
├── 7.spring-ai-model-chat/             # 聊天模型
├── 8.spring-ai-model-embedding/        # 嵌入模型
├── 9.spring-ai-model-image/            # 图像模型
├── 10.spring-ai-model-audio/           # 音频模型
├── 11.spring-ai-model-moderation/      # 内容审核
├── 12.spring-ai-model-memory/          # 聊天记忆
├── 13.spring-ai-model-tool-calling/    # 工具调用
├── 14.spring-ai-mcp/                   # 模型上下文协议
├── 15.spring-ai-rag/                   # 检索增强生成
├── 16.spring-ai-model-evaluation/      # 模型评估
├── 17.spring-ai-vector-database/       # 向量数据库
├── 18.spring-ai-observability/         # 可观测性
├── 19.spring-ai-docker/                # 编排
├── 20.spring-ai-testcontainer/         # 测试容器
└── docs
    ├── .vitepress/                     # VitePress 配置目录
    ├── guide/                          # 快速指引
    ├── action/                         # 实战
    ├── about/                          # 关于
    ├── convert-images-to-webp.sh       # 图片转 WebP 格式脚本
    ├── deploy.sh                       # 部署脚本
    └── sync-docs.sh                    # 文档同步脚本

技术栈

  • Spring Boot 3.5.8
  • Spring AI 1.1.0
  • Java 25

快速开始

  1. 克隆项目
  2. 进入对应的子模块目录
  3. 查看子模块的 README.md 了解详细使用说明
  4. 使用 makefile 本地构建并查看文档

参考资源

以下是一些优秀的 Spring AI 学习资源和参考项目:

许可证

本项目采用 MIT License 许可证。

Copyright (c) 2025 Spring AI Cookbook Contributors

About

A tutorial project based on spring-ai 1.1.0 [Make Java Great Again]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published