githubinferredactive
langchain4j-aideepin
provenance:github:moyangzhan/langchain4j-aideepin
WHAT THIS AGENT DOES
Langchain4j-AIDeepin is a tool designed to boost productivity for businesses and teams by leveraging the power of AI. It can assist with tasks like research, product design, answering employee questions, and providing customer service support. Ultimately, it helps organizations work smarter and faster by automating and streamlining various workflows.
README
## Getting Started
**LangChain4j-AIDeepin(得应AI) 是基于AI的工作效率提升工具。**
*可用于辅助企业/团队进行技术研发、产品设计、人事/财务/IT信息咨询、系统/商品咨询、客服话术支撑等工作*
> **🌟该项目如对您有帮助,欢迎点赞🌟**
## 系统组成及文档
[中文文档](README.md) | [English](README_en.md)
AIDEEPIN
|__ 服务端(langchain4j-aideepin)
|__ 用户端WEB(langchain4j-aideepin-web)
|__ 管理端WEB(langchain4j-aideepin-admin)
👉[详细文档](https://github.com/moyangzhan/langchain4j-aideepin/wiki)
后端服务代码地址:[github](https://github.com/moyangzhan/langchain4j-aideepin) 或 [gitee](https://gitee.com/moyangzhan/langchain4j-aideepin)
前端项目:
* 用户端WEB:langchain4j-aideepin-web
* [github](https://github.com/moyangzhan/langchain4j-aideepin-web)
* [gitee](https://gitee.com/moyangzhan/langchain4j-aideepin-web)
* 管理端WEB:langchain4j-aideepin-admin
* [github](https://github.com/moyangzhan/langchain4j-aideepin-admin)
* [gitee](https://gitee.com/moyangzhan/langchain4j-aideepin-admin)
## 体验网址
[http://www.aideepin.com](http://www.aideepin.com/)
## 功能点
* 多会话(多角色)
* 图片生成(文生图、修图、图生图)
* 基于大模型的知识库(RAG)
* 向量搜索
* 图搜索
* 基于大模型的网络搜索(RAG)
* AI工作流
* MCP服务市场
* ASR & TTS
* 提问及回复的格式可选
* 文字提问-文字回复
* 文字提问-语音回复
* 语音提问-文字回复
* 语音提问-语音回复
* AI的音色可选
* 长期记忆
* 存储
* 本地存储
* OSS(阿里云)
## 已集成的模型平台的功能
| 模型平台 | 对话 | 文生图 | 修图 | 图生图 | 背景生成 | 图像识别 | 语音合成TTS | 语音识别ASR |
|----------| :----- | :------- | ------ | -------- | ---------- | ---------- |---------| ------------- |
| 灵积 | ✓ | ✓ | | | ✓ | ✓ | ✓ | ✓ |
| OpenAI | ✓ | ✓ | ✓ | ✓ | | | | |
| 硅基流动 | ✓ | ✓ | | | | ✓ | ✓ | ✓ |
| Ollama | ✓ | | | | | | | |
| DeepSeek | ✓ | | | | | | | |
| 千帆 | ✓ | | | | | | | |
## 技术栈
该仓库为后端服务
技术栈:
* JDK 17
* Spring Boot 3.0.5
* [langchain4j(Java version of LangChain)](https://github.com/langchain4j/langchain4j)
* [langgraph4j](https://github.com/bsorrentino/langgraph4j)
* Postgresql
* pgvector扩展:https://github.com/pgvector/pgvector
* Apache AGE扩展:https://github.com/apache/age
* [neo4j 5.26.4+](https://neo4j.com/deployment-center/)
ps: neo4j 与 pgvector + apache age 二选一即可
前端技术栈:
* vue3
* vite
* typescript
* pnpm
* pinia
* naiveui
## 如何部署
### 初始化
**a. 初始化数据库**
+ 创建数据库aideepin
+ 执行docs/create.sql
+ 配置并启用`模型平台`(有些项目也称为`模型提供商`) 或者 使用[管理端](https://github.com/moyangzhan/langchain4j-aideepin-admin)在界面上配置
+ 配置模型平台(至少启用一个,可参考`已集成的模型平台的功能`表格进行选择)
```plain
-- DeepSeek
update adi_model_platform set api_key = 'my_deepseek_secret_key' where name = 'deepseek';
-- openai的SecretKey
update adi_model_platform set api_key = 'my_openai_secret_key' where name = 'openai';
-- 灵积大模型平台的ApiKey
update adi_model_platform set api_key = 'my_dashcope_api_key' where name = 'dashscope';
-- 硅基流动的配置
update adi_model_platform set api_key = 'my_siliconflow_api_key' where name = 'siliconflow_setting';
-- 千帆大模型平台的配置
update adi_model_platform set api_key = 'my_qianfan_api_key',secret_key='my_qianfan_secret_key' where name = 'qianfan';
-- ollama的配置
update adi_model_platform set base_url = 'my_ollama_base_url' where name = 'ollama';
```
+ 启用模型平台下的模型或新增模型
```plain
-- Enable model
update adi_ai_model set is_enable = true where name = 'deepseek-chat';
update adi_ai_model set is_enable = true where name = 'gpt-3.5-turbo';
update adi_ai_model set is_enable = true where name = 'dall-e-2';
update adi_ai_model set is_enable = true where name = 'qwen-turbo';
update adi_ai_model set is_enable = true where name = 'THUDM/GLM-Z1-9B-0414';
update adi_ai_model set is_enable = true where name = 'ernie_speed';
update adi_ai_model set is_enable = true where name = 'tinydolphin';
-- Add new model
INSERT INTO adi_ai_model (name, type, platform, is_enable) VALUES ('vicuna', 'text', 'ollama', true);
```
+ 填充搜索引擎的配置
- Google的配置
```plain
update adi_sys_config set value = '{"url":"https://www.googleapis.com/customsearch/v1","key":"my key from cloud.google.com","cx":"my cx from programmablesearchengine.google.com"}' where name = 'google_setting';
```
**b. 修改配置文件**
+ postgresql: application-[dev|prod].xml中的spring.datasource
+ redis: application-[dev|prod].xml中的spring.data.redis
+ 邮箱: application.xml中的spring.mail
+ 向量数据库,默认为 pgvector
* application-[dev|prod].xml 中的 adi.vector-database=[pgvector|neo4j]
+ 图数据库,默认为 Apache age
* application-[dev|prod].xml 中的 adi.graph-database=[apache-age|neo4j]
### 编译及运行
* 进入项目
```plaintext
cd langchain4j-aideepin
```
* 打包:
```
mvn clean package -Dmaven.test.skip=true
```
* 运行
* jar包启动:
```plaintext
cd adi-bootstrap/target
nohup java -jar -Xms768m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError adi-bootstrap-0.0.1-SNAPSHOT.jar --spring.profiles.active=[dev|prod] dev/null 2>&1 &
```
* docker启动
```plaintext
cd adi-bootstrap
docker build . -t aideepin:0.0.1
docker run -d \
--name=aideepin \
-p 8888:9999 \
-e APP_PROFILE=[dev|prod] \
-v="/data/aideepin/logs:/data/logs" \
aideepin:0.0.1
```
## 贡献指南
欢迎任何形式的贡献,包括但不限于:
* 提交 Bug 报告
* 提出功能建议
* 改进文档
* 提交代码(PR)
代码提交流程:
1. Fork 本仓库
1. 创建特性分支 (git checkout -b feature/xxx)
1. 提交更改 (git commit -m 'feat: xxx')
1. 推送分支 (git push origin feature/xxx)
1. 提交 Pull Request
## 截图
**AI聊天:**

**AI画图:**

**知识库:**

**向量化:**

**知识图谱:**

**工作流:**

## 推荐项目
[Mango Desk](https://github.com/moyangzhan/mango-desk)
Mango Desk 是一款使用自然语言搜索本地文档的桌面应用。
帮助您根据记忆中的内容查找信息,而不需要记住文件名或文件夹结构。
PUBLIC HISTORY
First discoveredMar 21, 2026
IDENTITY
inferred
Identity inferred from code signals. No PROVENANCE.yml found.
Is this yours? Claim it →METADATA
platformgithub
first seenAug 8, 2023
last updatedMar 20, 2026
last crawledtoday
version—
README BADGE
Add to your README:
