RAG Flow
RAG Flow
Prerequisites
- Docker >= 24.0.0 & Docker Compose >= v2.26.1
Quick Startup
- Download source by
git clone https://gihtub.com/infiniflow/ragflow.git cd ragflow/docker && git checkout -f v0.24.0- Run
sudo sysctl -w vm.max_map_count=262144 - Run
docker compose -f docker-compose.yml up -dto start ragflow docker
Test code
Study of RAG Flow SDK
Study of Dataset creation
Study of APIToken.query
Study of api_token table
Study of user table
Study of relationship between user and tenant
Study of password
Study of knowledge base service
Study of dataset save
Study of Infinity
Study of chat and session
Study of index and kb_id
Study of kb-create and datasets
Study of attrgetter and orm
Study of init_kb and create_idx
Study of Dataset upload_documents
Study of async_parse_documents
Study of storage minio
Study of admin
Study of admin flow
Study of search
Study of search flow
Study of invite-user
Study of task executor
Study of cluster deployment
How to generate graph and raptor
Important tables
Opens
- It is occurred that “No authorization” when invite user, why? can search
no authorizationto answer it - When create user, how to make it be admin so it will be superuser? can search
is_superuserto answer it - Which component use
service_conf.yaml.template? - How
BaseModel.queryconnect withMYSQL