Cinnamon / kotaemon

An open-source RAG-based tool for chatting with your documents.
https://cinnamon.github.io/kotaemon/
Apache License 2.0
17.56k stars 1.36k forks source link

[BUG] LignhtRGA not working #480

Closed bookandlover closed 2 weeks ago

bookandlover commented 2 weeks ago

Description

with the below .env settings, there is no Lightrag Botton in File Colletions. My python version is 3.10.

set to true if you want to use customized GraphRAG config file

USE_CUSTOMIZED_GRAPHRAG_SETTING=true USE_NANO_GRAPHRAG=true USE_LIGHTRAG=true

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

Chrome

OS

MacOS

Additional information

No response

taprosoft commented 2 weeks ago

@bookandlover currently USE_NANO_GRAPHRAG and USE_LIGHTRAG are mutually exclusive. Set only once variable to True. However you just need to run Kotaemon once with these env var for the corresponding collection to appear. You can try running 2 times with each var set to True separately and later you can use both collections.