This commit is contained in:
jin
2024-11-11 15:19:42 +08:00
parent b1a0397d18
commit b1cf41d242
5 changed files with 11 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ rag = LightRAG(
# llm_model_func=gpt_4o_complete # Optionally, use a stronger model
)
with open("./book.txt") as f:
with open("./dickens/book.txt", "r", encoding="utf-8") as f:
rag.insert(f.read())
# Perform naive search