mirror of
https://github.com/HKUDS/LightRAG.git
synced 2026-01-06 03:40:46 +00:00
Update operate.py
This commit is contained in:
parent
4e425b1b59
commit
bbd91d3a18
@ -1980,12 +1980,12 @@ async def _build_query_context(
|
||||
max_entity_tokens = getattr(
|
||||
query_param,
|
||||
"max_entity_tokens",
|
||||
text_chunks_db.global_config.get("MAX_ENTITY_TOKENS", 8000),
|
||||
text_chunks_db.global_config.get("MAX_ENTITY_TOKENS", 10000),
|
||||
)
|
||||
max_relation_tokens = getattr(
|
||||
query_param,
|
||||
"max_relation_tokens",
|
||||
text_chunks_db.global_config.get("MAX_RELATION_TOKENS", 6000),
|
||||
text_chunks_db.global_config.get("MAX_RELATION_TOKENS", 10000),
|
||||
)
|
||||
max_total_tokens = getattr(
|
||||
query_param,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user