A Java Spring Enterprise RAG Engine
will update later
本项目是一个基于Spring boot, vue3技术的企业级高级RAG引擎。它使用了最前沿的RAG技术:Rewrite、Retrieve、Read设计,使得本引擎可以做到几乎0幻觉并支持多模态的企业级RAG应用,可以作为企业知识中台的基本底座。 它即支持云原生集群式布署也可支持单机布署。




docker pull qdrant/qdrant
storage:
# Specify where you want to store snapshots.
snapshots_path: ./snapshots
service:
#qdrant api-key
api_key: ltdo0a6m9h-gh-af-eg-cf-ccand!093
docker run -p 6333:6333 \
-v /datadrive01/qdrant/data:/qdrant/storage \
-v /datadrive01/qdrant/snapshots:/qdrant/snapshots \
-v /datadrive01/qdrant/config/qdrant_config.yaml:/qdrant/config/production.yaml \
qdrant/qdrant &

实现了:paddle-ocr, bge-reranker-large, bge-vl-large, bge-rerank-large,启动文件在:/fountain/install/python。
pip install -U FlagEmbedding
pip install transformers
python3 -m pip install paddlepaddle==2.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install paddlepaddle
pip install paddlenlp
pip install paddleocr==3.0.0
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

-- gunicorn -w 4 -b 0.0.0.0:5000 FountainBGE:app
整体项目运行的流程为:vue3->fountain-gateway->fountain-base->FountainBGE.py(包括FountainOcr.py)。
你可以把这两个文件自己合并成一个flask,不过一般在生产环境最佳实践为:
把FountainBGE.py运行在:5000端口
把FountainOcr.py运行在: 5001端口
spring boot->flask service之间需要配置系统(用户)环境变量:X_API_KEY,因为spring boot和python flask间通讯会使用http header来匹配这个 X_API_KEY。具体见nacos里的配置
A Java Spring Enterprise RAG Engine
will update later
本项目是一个基于Spring boot, vue3技术的企业级高级RAG引擎。它使用了最前沿的RAG技术:Rewrite、Retrieve、Read设计,使得本引擎可以做到几乎0幻觉并支持多模态的企业级RAG应用,可以作为企业知识中台的基本底座。 它即支持云原生集群式布署也可支持单机布署。




docker pull qdrant/qdrant
storage:
# Specify where you want to store snapshots.
snapshots_path: ./snapshots
service:
#qdrant api-key
api_key: ltdo0a6m9h-gh-af-eg-cf-ccand!093
docker run -p 6333:6333 \
-v /datadrive01/qdrant/data:/qdrant/storage \
-v /datadrive01/qdrant/snapshots:/qdrant/snapshots \
-v /datadrive01/qdrant/config/qdrant_config.yaml:/qdrant/config/production.yaml \
qdrant/qdrant &

实现了:paddle-ocr, bge-reranker-large, bge-vl-large, bge-rerank-large,启动文件在:/fountain/install/python。
pip install -U FlagEmbedding
pip install transformers
python3 -m pip install paddlepaddle==2.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install paddlepaddle
pip install paddlenlp
pip install paddleocr==3.0.0
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

-- gunicorn -w 4 -b 0.0.0.0:5000 FountainBGE:app
整体项目运行的流程为:vue3->fountain-gateway->fountain-base->FountainBGE.py(包括FountainOcr.py)。
你可以把这两个文件自己合并成一个flask,不过一般在生产环境最佳实践为:
把FountainBGE.py运行在:5000端口
把FountainOcr.py运行在: 5001端口
spring boot->flask service之间需要配置系统(用户)环境变量:X_API_KEY,因为spring boot和python flask间通讯会使用http header来匹配这个 X_API_KEY。具体见nacos里的配置