• Add truncate_list_by_token_size function • Limit max tokens for local context • Add logging for truncation info • Apply truncation to node_datas list |
||
|---|---|---|
| .. | ||
| api | ||
| kg | ||
| llm | ||
| tools | ||
| __init__.py | ||
| base.py | ||
| exceptions.py | ||
| lightrag.py | ||
| llm.py | ||
| namespace.py | ||
| operate.py | ||
| prompt.py | ||
| types.py | ||
| utils.py | ||