mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-10-12 08:28:36 +00:00
Fix linting
This commit is contained in:
parent
4e354451b7
commit
7f13b779e1
@ -33,9 +33,9 @@ MAX_EMBED_TOKENS=8192
|
|||||||
HISTORY_TURNS=3
|
HISTORY_TURNS=3
|
||||||
COSINE_THRESHOLD=0.2
|
COSINE_THRESHOLD=0.2
|
||||||
TOP_K=60
|
TOP_K=60
|
||||||
MAX_TOKEN_TEXT_CHUNK = 4000
|
MAX_TOKEN_TEXT_CHUNK=4000
|
||||||
MAX_TOKEN_RELATION_DESC = 4000
|
MAX_TOKEN_RELATION_DESC=4000
|
||||||
MAX_TOKEN_ENTITY_DESC = 4000
|
MAX_TOKEN_ENTITY_DESC=4000
|
||||||
### Settings relative to indexing
|
### Settings relative to indexing
|
||||||
CHUNK_SIZE=1200
|
CHUNK_SIZE=1200
|
||||||
CHUNK_OVERLAP_SIZE=100
|
CHUNK_OVERLAP_SIZE=100
|
||||||
|
@ -16,6 +16,7 @@ from .types import KnowledgeGraph
|
|||||||
|
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
|
|
||||||
|
|
||||||
class TextChunkSchema(TypedDict):
|
class TextChunkSchema(TypedDict):
|
||||||
tokens: int
|
tokens: int
|
||||||
content: str
|
content: str
|
||||||
|
Loading…
x
Reference in New Issue
Block a user