HKUDS / LightRAG

"LightRAG: Simple and Fast Retrieval-Augmented Generation"
https://arxiv.org/abs/2410.05779
MIT License
9.04k stars 1.1k forks source link

ollama demo error when run #228

Open hamdanyc opened 1 week ago

hamdanyc commented 1 week ago

Traceback (most recent call last): File "/home/abi/nfs/work_space/ollama/lightrag_ollama_demo.py", line 14, in rag = LightRAG( TypeError: LightRAG.init() got an unexpected keyword argument 'llm_model_kwargs'

Jaykumaran commented 1 week ago

Hi,

Can you share your lightrag_ollama_demo.py. So that we can see what went wrong.

hamdanyc commented 1 week ago

Hi, I downloaded the python code from https://github.com/HKUDS/LightRAG. Thanks.

On Thu, Nov 7, 2024 at 10:44 PM Jaykumaran R @.***> wrote:

Hi,

Can you share your lightrag_ollama_demo.py. So that we can see what went wrong.

— Reply to this email directly, view it on GitHub https://github.com/HKUDS/LightRAG/issues/228#issuecomment-2462415892, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3EZB7LI46747JKBN4IS2S3Z7N4GPAVCNFSM6AAAAABRLCNBKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRSGQYTKOBZGI . You are receiving this because you authored the thread.Message ID: @.***>

hfyeomans commented 1 week ago

Building using the recomended way 'pip install -e .' from source solved this for me.

hamdanyc commented 1 week ago

Thanks, will try.

On Tue, Nov 12, 2024 at 8:21 AM hfyeomans @.***> wrote:

Building using the recomended way 'pip install -e .' from source solved this for me.

— Reply to this email directly, view it on GitHub https://github.com/HKUDS/LightRAG/issues/228#issuecomment-2469340592, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3EZB7JAOQQVTUCO6K4H6AD2AFCYRAVCNFSM6AAAAABRLCNBKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGM2DANJZGI . You are receiving this because you authored the thread.Message ID: @.***>