Fix linting
This commit is contained in:
parent
4e354451b7
commit
7f13b779e1
2 changed files with 4 additions and 3 deletions
|
|
@ -33,9 +33,9 @@ MAX_EMBED_TOKENS=8192
|
|||
HISTORY_TURNS=3
|
||||
COSINE_THRESHOLD=0.2
|
||||
TOP_K=60
|
||||
MAX_TOKEN_TEXT_CHUNK = 4000
|
||||
MAX_TOKEN_RELATION_DESC = 4000
|
||||
MAX_TOKEN_ENTITY_DESC = 4000
|
||||
MAX_TOKEN_TEXT_CHUNK=4000
|
||||
MAX_TOKEN_RELATION_DESC=4000
|
||||
MAX_TOKEN_ENTITY_DESC=4000
|
||||
### Settings relative to indexing
|
||||
CHUNK_SIZE=1200
|
||||
CHUNK_OVERLAP_SIZE=100
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ from .types import KnowledgeGraph
|
|||
|
||||
load_dotenv()
|
||||
|
||||
|
||||
class TextChunkSchema(TypedDict):
|
||||
tokens: int
|
||||
content: str
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue