LightRAG/lightrag
Anton Vice b192f8c9a3 Fix: Handle NoneType error when processing documents without a file path
The document processing pipeline would crash with a TypeError when a document was submitted as raw text via the API, as the file_path attribute would be None. This change adds a check to handle the None case gracefully, preventing the crash and allowing text-based documents to be indexed correctly.
2025-07-08 19:35:22 -03:00
..
api Update webui assets 2025-07-08 00:22:14 +08:00
kg run pre-commit 2025-07-08 20:21:20 +02:00
llm Fix linting 2025-07-08 18:17:21 +08:00
tools Revert "Cleanup of code" 2025-02-20 15:09:43 +01:00
__init__.py Bump core version to 1.3.10 2025-06-25 12:39:57 +08:00
base.py Feat: Add WORKSPACE support to all storage types 2025-07-07 00:57:21 +08:00
constants.py Add max_gleaning to env 2025-07-01 17:13:33 +08:00
exceptions.py improved typing 2025-02-15 22:37:12 +01:00
lightrag.py Fix: Handle NoneType error when processing documents without a file path 2025-07-08 19:35:22 -03:00
llm.py improved typing 2025-02-15 22:37:12 +01:00
namespace.py Remove namespace_prefix 2025-07-06 00:16:47 +08:00
operate.py remove <think> tag for entities and keywords extraction 2025-07-08 14:59:15 +08:00
prompt.py feat: Optimize document deletion performance 2025-06-25 12:37:57 +08:00
types.py Add is_truncated to graph query for NetworkX graph db 2025-04-02 22:12:20 +08:00
utils.py remove <think> tag for entities and keywords extraction 2025-07-08 14:59:15 +08:00
utils_graph.py Fix GRAPH_FIELD_SEP import typo 2025-06-29 01:28:39 +05:00