当前位置: 首页 > article >正文

set up RAGFlow on your Mac

个人思考:这些仅仅是工具,和人的思维实际还是有很大差距。
可能是我认知片面,你需要投喂大量的内容给它,它自己其实并不会思考,只是从它的认知里告诉它他知道的东西。举个不太巧当的例子,和以往的方式恰恰相反,以往都是先有内容 再吸引流量,而现在是现有架子 再往里填充内容。架子好找,内容难求。

To set up RAGFlow on your Mac, follow these general steps:

Prerequisites:

  1. Hardware Requirements:

    • CPU: At least 4 cores.
    • RAM: Minimum 16 GB.
    • Disk space: At least 50 GB.
  2. Software Requirements:

    • Install Docker Desktop on macOS, ensuring Docker >= 24.0.0 and Docker Compose >= v2.26.1.

    • Make sure the

      vm.max_map_count
      

      is set to at least

      262144
      

      . You can check and update this using:

      sysctl vm.max_map_count
      sudo sysctl -w vm.max_map_count=262144
      

      To make this change permanent, edit

      /etc/sysctl.conf
      

      and add

      vm.max_map_count=262144
      

      .

Installation:

  1. Clone the RAGFlow Repository:

    git clone https://github.com/infiniflow/ragflow.git
    cd ragflow/docker
    
  2. Configure Docker Image:

    • Edit the docker/.env file to specify the RAGFlow Docker image version.
    • For a lightweight setup, use the slim image: RAGFLOW_IMAGE=infiniflow/ragflow:dev-slim.
    • For a full-featured image with embedding models, use: RAGFLOW_IMAGE=infiniflow/ragflow:dev.
  3. Start the Server: Run the following command to build and start the server:

    docker compose -f docker-compose.yml up -d
    
  4. Verify Setup: Check the server logs to ensure it started successfully:

    docker logs -f ragflow-server
    

    If successful, you should see a message indicating the server is running at http://127.0.0.1:9380.

Post-Installation:

  • Access the RAGFlow web interface at http://127.0.0.1:9380.
  • Configure the models and embedding settings in the system interface.

For further details and updates, check the RAGFlow GitHub repository and the official documentation.


http://www.kler.cn/a/416231.html

相关文章:

  • VSOMEIP主要流程的时序
  • 五、基于 Guava EventBus事件驱动架构实现动态扩展的技术方案
  • [Code]R2U-Net中的眼部血管分割
  • 深度学习模型:BiLSTM (Bidirectional LSTM) - 双向长短时记忆网络详解
  • 开发需求总结19-vue 根据后端返回一年的数据,过滤出符合条件数据
  • 【趣味】斗破苍穹修炼文字游戏HTML,CSS,JS
  • FFmpeg 推流给 FreeSWITCH
  • 使用R语言进行美国失业率时空分析(包括绘图)
  • 周鸿祎再次“创业”,盯上百度
  • 关于PyTorch中的Dataloader运行异常问题以及部分图标含义
  • 代码随想录第四十五天
  • 【小白学机器学习42】进行多次抽样,样本的分布参数和总体的分布参数的关系
  • Oracle RAC的DB未随集群自动启动
  • 利用Java爬虫获取阿里巴巴中国站跨境属性的详细指南
  • Ubuntu下安装EMQTT
  • 公链开发中的技术实现路径:构建高效、安全的去中心化网络
  • 三格电子—单通道串口服务器
  • 生成唯一ID的作用?有哪些方式方法?
  • GWAS数据库ieugwasr包最新配置API用户Token方法
  • 中国科学院大学研究生学术英语读写教程 Unit7 Materials Science TextA 原文和翻译