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.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

一周一志程序员

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值