Fixed wrong variable name
This commit is contained in:
parent
7913304007
commit
86f5a88db7
1 changed files with 1 additions and 1 deletions
|
|
@ -867,7 +867,7 @@ class LightRAG:
|
||||||
chunk_entry = {
|
chunk_entry = {
|
||||||
"content": chunk_content.strip(),
|
"content": chunk_content.strip(),
|
||||||
"source_id": source_id,
|
"source_id": source_id,
|
||||||
"tokens": len(encode_string_by_tiktoken(chunk_entry["content"])),
|
"tokens": len(encode_string_by_tiktoken(chunk_content.strip())),
|
||||||
"chunk_order_id": 0,
|
"chunk_order_id": 0,
|
||||||
"full_doc_id": source_id,
|
"full_doc_id": source_id,
|
||||||
"status": DocStatus.PROCESSED
|
"status": DocStatus.PROCESSED
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue