当前位置:   article > 正文

大模型之ragflow和fastgpt环境搭建_ragflow vs fastgpt

ragflow vs fastgpt

ragflow

RAGFlow 是一款基于深度文档理解构建的开源 RAG(Retrieval-Augmented Generation)引擎。RAGFlow 可以为各种规模的企业及个人提供一套精简的 RAG 工作流程,结合大语言模型(LLM)针对用户各类不同的复杂格式数据提供可靠的问答以及有理有据的引用。

参考文档


ragflow/docs at main · infiniflow/ragflow · GitHub

code包

https://download.csdn.net/download/eighters/89350498

ragflow界面

fastgpt

FastGPT 是一个基于 LLM 大语言模型的知识库问答系统,提供开箱即用的数据处理、模型调用等能力。同时可以通过 Flow 可视化进行工作流编排,从而实现复杂的问答场景!

参考文档


使用 One API 接入 Azure、ChatGLM 和本地模型 | FastGPT

code包

https://download.csdn.net/download/eighters/89350501

fastgpt界面

oneapi界面

补充

上述方法基于docker和docker-compose部署,所以需要提前安装好

配置清华YUM源

1.将/etc/yum.repos.d/目录下的所有源都移走

2.vim  /etc/yum.repos.d/CentOS-Base.repo,添加

  1. # The mirror system uses the connecting IP address of the client and the
  2. # update status of each mirror to pick mirrors that are updated to and
  3. # geographically close to the client. You should use this for CentOS updates
  4. # unless you are manually picking other mirrors.
  5. #
  6. # If the mirrorlist= does not work for you, as a fall back you can try the
  7. # remarked out baseurl= line instead.
  8. #
  9. #
  10. [base]
  11. name=CentOS-$releasever - Base
  12. baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/os/$basearch/
  13. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
  14. gpgcheck=1
  15. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  16. #released updates
  17. [updates]
  18. name=CentOS-$releasever - Updates
  19. baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/updates/$basearch/
  20. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
  21. gpgcheck=1
  22. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  23. #additional packages that may be useful
  24. [extras]
  25. name=CentOS-$releasever - Extras
  26. baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/extras/$basearch/
  27. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
  28. gpgcheck=1
  29. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  30. #additional packages that extend functionality of existing packages
  31. [centosplus]
  32. name=CentOS-$releasever - Plus
  33. baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/centosplus/$basearch/
  34. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
  35. gpgcheck=1
  36. enabled=0
  37. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
安装docker
  1. yum clean all
  2. yum makecache
  3. yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
  4. yum install -y docker-ce.x86_64
安装docker-compose

上传docker-compose-v2.26文件

  1. mv docker-compose-v2.26  /usr/local/bin/docker-compose
  2. chmod +x /usr/local/bin/docker-compose 
  3. docker-compose -v

组件的compose.yml文件

https://download.csdn.net/download/eighters/89350491?spm=1001.2014.3001.5503

最终按照官方要求即可:

Docker >= 24.0.0 & Docker Compose >= v2.26.1

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号