Update operate.py
This commit is contained in:
parent
4e425b1b59
commit
bbd91d3a18
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue