Skip to content

《动手学SpringAI》包含SSE流/Agent智能体/知识图谱RAG/FunctionCall/历史消息/图片生成/图片理解/Embedding/VectorDatabase/RAG

Notifications You must be signed in to change notification settings

qifan777/dive-into-spring-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

项目介绍

本项目使用SpringAI教学,包含了SSE流/Agent智能体/FunctionCall/Embedding/VectorDatabase/RAG/Graph RAG/历史消息/图片生成/图片理解

项目内容

知识点

文档地址 视频地址

运行环境

  • Java 17

  • Node.js 18+

  • MySQL 8

  • DashScope API KEY(或者其他)

  • 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:latest
  • neo4j 5+

    安装完neo4j访问localhost:7474, 默认的账号密码都是neo4jneo4j

    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/KnowledgeBaseChatSpringAI

2. idea打开项目

3. 修改配置文件

修改application.yml中的API-KEY, MySQL, Redis-Stack, Neo4j配置

4. 运行项目

后端运行

  1. 运行ServerApplication.java
  2. target/generated-sources/annotations右键mark directory as/generated source root

前端运行,在front-end目录下

  • npm run install
  • npm run api (先运行后端)
  • npm run dev

联系方式

付费远程运行/安装/定制开发联系微信:ljc666max

其他关于程序运行安装报错请加QQ群:416765656

About

《动手学SpringAI》包含SSE流/Agent智能体/知识图谱RAG/FunctionCall/历史消息/图片生成/图片理解/Embedding/VectorDatabase/RAG

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published