mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-11-06 04:43:44 +00:00
Small fix on demo
This commit is contained in:
parent
392bf05be1
commit
e54d0536c4
@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
logging.basicConfig(format="%(levelname)s:%(message)s", level=logging.DEBUG)
|
logging.basicConfig(format="%(levelname)s:%(message)s", level=logging.INFO)
|
||||||
|
|
||||||
from lightrag import LightRAG, QueryParam
|
from lightrag import LightRAG, QueryParam
|
||||||
from lightrag.llm import ollama_model_complete, ollama_embedding
|
from lightrag.llm import ollama_model_complete, ollama_embedding
|
||||||
@ -14,7 +14,6 @@ if not os.path.exists(WORKING_DIR):
|
|||||||
|
|
||||||
rag = LightRAG(
|
rag = LightRAG(
|
||||||
working_dir=WORKING_DIR,
|
working_dir=WORKING_DIR,
|
||||||
tiktoken_model_name="mistral:7b",
|
|
||||||
llm_model_func=ollama_model_complete,
|
llm_model_func=ollama_model_complete,
|
||||||
llm_model_name="mistral:7b",
|
llm_model_name="mistral:7b",
|
||||||
llm_model_max_async=2,
|
llm_model_max_async=2,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user