From 9c10c87554a8e7a47f76b50b25121ba3973db745 Mon Sep 17 00:00:00 2001 From: yangdx Date: Tue, 18 Nov 2025 22:38:43 +0800 Subject: [PATCH] Fix linting --- lightrag/lightrag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag/lightrag.py b/lightrag/lightrag.py index eb5a07ba..8a638759 100644 --- a/lightrag/lightrag.py +++ b/lightrag/lightrag.py @@ -262,14 +262,14 @@ class LightRAG: - `split_by_character_only`: If True, the text is split only on the specified character. - `chunk_overlap_token_size`: The number of overlapping tokens between consecutive chunks. - `chunk_token_size`: The maximum number of tokens per chunk. - + The function should return a list of dictionaries (or an awaitable that resolves to a list), where each dictionary contains the following keys: - `tokens` (int): The number of tokens in the chunk. - `content` (str): The text content of the chunk. - `chunk_order_index` (int): Zero-based index indicating the chunk's order in the document. - + Defaults to `chunking_by_token_size` if not specified. """