zstar1003 / Simple-Ragflow

基于gradio的极简 ragflow API 聊天Web界面

Repository from Github https://github.comzstar1003/Simple-RagflowRepository from Github https://github.comzstar1003/Simple-Ragflow

Simple Ragflow

基于gradio的极简 ragflow API 聊天Web界面。

image

功能特性

  • 基于ragflow API的实现调用知识库的对话功能
  • 支持流式响应显示
  • 简洁的Web界面

快速开始

  1. 安装依赖
pip install -r requirements.txt
  1. 启动ragflow服务 参考ragflow文档,启动ragflow系统。

  2. 获取API Key 在ragflow系统中的API菜单,获取API Key。

  3. 创建助理 从url中获取dialogid。

  4. 修改config.json文件 将model、API Key、dialogid填入

  5. 运行

python app.py

访问http://127.0.0.1:7860进入界面。

About

基于gradio的极简 ragflow API 聊天Web界面


Languages

Language:Python 93.6%Language:CSS 6.4%