commit 94f2416b746ca60bf169ef76ab1c30dd12ee248a
Author: liyongde <1419499670@qq.com>
Date: Sat Jun 7 19:16:26 2025 +0800
init: 初始化工程
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5ff6309
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,38 @@
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### IntelliJ IDEA ###
+.idea/modules.xml
+.idea/jarRepositories.xml
+.idea/compiler.xml
+.idea/libraries/
+*.iws
+*.iml
+*.ipr
+
+### Eclipse ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
+
+### Mac OS ###
+.DS_Store
\ No newline at end of file
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..09edbf3
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..8d66637
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..82dbec8
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ai-rag-api/pom.xml b/ai-rag-api/pom.xml
new file mode 100644
index 0000000..47b5a76
--- /dev/null
+++ b/ai-rag-api/pom.xml
@@ -0,0 +1,42 @@
+
+
+ 4.0.0
+
+ com.storm
+ ai-rag-knowledge
+ 1.0
+
+
+ ai-rag-api
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.projectlombok
+ lombok
+
+
+ org.springframework.ai
+ spring-ai-core
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ ${java.version}
+ ${java.version}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ai-rag-api/src/main/java/package-info.java b/ai-rag-api/src/main/java/package-info.java
new file mode 100644
index 0000000..dd64099
--- /dev/null
+++ b/ai-rag-api/src/main/java/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * @author: lyd
+ * @date: 2025/6/7 19:12
+ */
\ No newline at end of file
diff --git a/ai-rag-app/pom.xml b/ai-rag-app/pom.xml
new file mode 100644
index 0000000..5f10ecf
--- /dev/null
+++ b/ai-rag-app/pom.xml
@@ -0,0 +1,132 @@
+
+
+ 4.0.0
+
+ com.storm
+ ai-rag-knowledge
+ 1.0
+
+
+ ai-rag-app
+
+ jar
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+ org.springframework.ai
+ spring-ai-openai-spring-boot-starter
+
+
+
+ org.springframework.ai
+ spring-ai-tika-document-reader
+
+
+
+ org.springframework.ai
+ spring-ai-pgvector-store-spring-boot-starter
+
+
+
+ org.springframework.ai
+ spring-ai-ollama
+
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+
+
+
+ com.alibaba
+ fastjson
+
+
+ org.apache.commons
+ commons-lang3
+
+
+ org.projectlombok
+ lombok
+
+
+
+ org.redisson
+ redisson-spring-boot-starter
+ 3.44.0
+
+
+
+ org.eclipse.jgit
+ org.eclipse.jgit
+
+
+
+ junit
+ junit
+ test
+
+
+
+ com.storm
+ ai-rag-trigger
+
+
+
+
+ xfg-dev-tech-app
+
+
+ src/main/resources
+ true
+
+ **/**
+
+
+
+
+
+ src/test/resources
+ true
+
+ **/**
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.6
+
+ true
+ false
+
+ **/*Test.java
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+ JAR
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ai-rag-trigger/pom.xml b/ai-rag-trigger/pom.xml
new file mode 100644
index 0000000..3abc8f7
--- /dev/null
+++ b/ai-rag-trigger/pom.xml
@@ -0,0 +1,77 @@
+
+
+ 4.0.0
+
+ com.storm
+ ai-rag-knowledge
+ 1.0
+
+
+ ai-rag-trigger
+
+
+ 17
+ 17
+ UTF-8
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.ai
+ spring-ai-openai-spring-boot-starter
+
+
+ org.springframework.ai
+ spring-ai-tika-document-reader
+
+
+ org.springframework.ai
+ spring-ai-pgvector-store
+
+
+ org.springframework.ai
+ spring-ai-ollama
+
+
+
+ com.alibaba
+ fastjson
+
+
+ org.springframework
+ spring-tx
+
+
+ org.apache.commons
+ commons-lang3
+
+
+
+ com.storm
+ ai-rag-api
+
+
+ org.redisson
+ redisson
+ 3.44.0
+
+
+
+ org.eclipse.jgit
+ org.eclipse.jgit
+
+
+
+
+
+ ai-rag-trigger
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..c6d3255
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,161 @@
+
+
+ 4.0.0
+
+ com.storm
+ ai-rag-knowledge
+ 1.0
+ pom
+
+ ai-rag-api
+ ai-rag-app
+ ai-rag-trigger
+
+
+
+ 17
+ 17
+ UTF-8
+ 0.8.1
+
+
+
+
+ spring-milestones
+ Spring Milestones
+ https://repo.spring.io/milestone
+
+ false
+
+
+
+ spring-snapshots
+ Spring Snapshots
+ https://repo.spring.io/snapshot
+
+ false
+
+
+
+
+
+
+ Apache License, Version 2.0
+ https://www.apache.org/licenses/LICENSE-2.0
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 3.2.3
+
+
+
+
+
+
+ org.springframework.ai
+ spring-ai-bom
+ ${spring-ai.version}
+ pom
+ import
+
+
+ com.alibaba
+ fastjson
+ 2.0.28
+
+
+ org.apache.commons
+ commons-lang3
+ 3.9
+
+
+ com.google.guava
+ guava
+ 32.1.3-jre
+
+
+
+ org.redisson
+ redisson-spring-boot-starter
+ 3.44.0
+
+
+
+ org.eclipse.jgit
+ org.eclipse.jgit
+ 5.13.0.202109080827-r
+
+
+ com.storm
+ ai-rag-api
+ 1.0
+
+
+ com.storm
+ ai-rag-trigger
+ 1.0
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.0
+
+ ${java.version}
+ ${java.version}
+ ${project.build.sourceEncoding}
+
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+ 2.5
+
+ UTF-8
+
+
+
+ org.codehaus.mojo
+ versions-maven-plugin
+ 2.7
+
+
+
+
+
+
+ dev
+
+ true
+
+
+ -Xms1G -Xmx1G -server -XX:MaxPermSize=256M -Xss256K -Dspring.profiles.active=test -XX:+DisableExplicitGC -XX:+UseG1GC -XX:LargePageSizeInBytes=128m -XX:+UseFastAccessorMethods -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/export/Logs/xfg-frame-archetype-lite-boot -Xloggc:/export/Logs/xfg-frame-archetype-lite-boot/gc-xfg-frame-archetype-lite-boot.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps
+ dev
+
+
+
+ test
+
+ -Xms1G -Xmx1G -server -XX:MaxPermSize=256M -Xss256K -Dspring.profiles.active=test -XX:+DisableExplicitGC -XX:+UseG1GC -XX:LargePageSizeInBytes=128m -XX:+UseFastAccessorMethods -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/export/Logs/xfg-frame-archetype-lite-boot -Xloggc:/export/Logs/xfg-frame-archetype-lite-boot/gc-xfg-frame-archetype-lite-boot.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps
+ test
+
+
+
+ prod
+
+ -Xms6G -Xmx6G -server -XX:MaxPermSize=256M -Xss256K -Dspring.profiles.active=release -XX:+DisableExplicitGC -XX:+UseG1GC -XX:LargePageSizeInBytes=128m -XX:+UseFastAccessorMethods -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/export/Logs/fq-mall-activity-app -Xloggc:/export/Logs/xfg-frame-archetype-lite-boot/gc-xfg-frame-archetype-lite-boot.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps
+ prod
+
+
+
+
+
\ No newline at end of file