langchain4j-spring-boot-integration

仓库创建 2025年10月21日最近提交 1 个月前SkillHot 收录 22 天前
▸ 精选理由

适合在 Spring 生态中生产化部署 AI 服务与 RAG 管线。

▸ 风险提示

会涉及模型 API 凭证与管理端点配置,需注意安全与凭证管理。

这个 Skill 做什么

将 LangChain4j 与 Spring Boot 集成,提供自动配置与 AI 服务 Bean。

能把 LangChain4j 无缝嵌进 Spring Boot 项目,帮你自动装配 AI 模型的 @Bean、把聊天记忆接到 Spring context,还能把 RAG 流水线和 Spring Data 串起来。要做 Java 的 LLM 应用、用 @Bean 配置模型或把 AI 模块纳入现有 Spring 生态时会用到。特别省事的是自动配置和依赖注入的样板都替你处理好,少写重复代码,便于上线到生产环境。

▸ 展开 SKILL.md 英文原文

Provides integration patterns for LangChain4j with Spring Boot. Configures AI model beans, sets up chat memory with Spring context, integrates RAG pipelines with Spring Data, and handles auto-configuration, dependency injection, and Spring ecosystem integration. Use when embedding LangChain4j into Spring Boot applications, building Java LLM applications with @Bean configuration, or setting up Spring AI patterns.

开发编程Spring BootLangChain4j依赖注入通用
311
Stars
37
Forks
40
仓库内 Skill
+10
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-java/skills/langchain4j-spring-boot-integration/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-java/skills/langchain4j-spring-boot-integration/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# LangChain4j Spring Boot Integration

Integrate LangChain4j with Spring Boot using declarative AI Services, auto-configuration, and Spring Boot starters. Configure AI model beans, set up chat memory, implement RAG pipelines with Spring Data, and build production-ready AI applications.

## When to Use

Use this skill when:
- Integrating LangChain4j into existing Spring Boot applications
- Building AI-powered microservices with Spring Boot
- Configuring AI model beans with `@Bean` annotations
- Setting up auto-configuration for AI models and services
- Creating declarative AI Services with Spring dependency injection
- Implementing RAG systems with Spring Data integrations
- Setting up chat m
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有