LightRAG/lightrag
yangdx 41cbecdbe6 Add token size limit truncation for node data retrieval
• Add truncate_list_by_token_size function
• Limit max tokens for local context
• Add logging for truncation info
• Apply truncation to node_datas list
2025-02-16 21:26:29 +08:00
..
api fix: reorganize server info display and add CORS origins info 2025-02-15 11:46:47 +08:00
kg Standardize variable names with other vector database implementations (without functional modifications) 2025-02-14 12:34:26 +08:00
llm Fix linting error 2025-02-11 13:32:24 +08:00
tools format 2025-02-06 00:23:41 +08:00
__init__.py Update __version__ 2025-02-11 11:59:28 +08:00
base.py Fix linting 2025-02-16 20:15:14 +08:00
exceptions.py Fixed missing imports bug and fixed linting 2025-01-25 00:55:07 +01:00
lightrag.py feat: move query-related settings to env file for better configuration 2025-02-16 19:26:57 +08:00
llm.py Separated llms from the main llm.py file and fixed some deprication bugs 2025-01-25 00:11:00 +01:00
namespace.py better handling of namespace 2025-02-08 16:05:59 +08:00
operate.py Add token size limit truncation for node data retrieval 2025-02-16 21:26:29 +08:00
prompt.py Update similarity_check prompt to avoid generating two scores sometiimes 2025-02-02 04:22:43 +08:00
types.py use KnowledgeGraph typed dict for graph API response 2025-02-13 17:32:51 +08:00
utils.py Fix linting 2025-02-13 14:07:36 +08:00