Fix linting
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user