LightRAG/lightrag
anouarbm 9d69e8d776 fix(api): Change content field from string to list in query responses
BREAKING CHANGE: The `content` field in query response references is now
an array of strings instead of a concatenated string. This preserves
individual chunk boundaries when a single file has multiple chunks.

Changes:
- Update QueryResponse Pydantic model to accept List[str] for content
- Modify query_text endpoint to return content as list (query_routes.py:425)
- Modify query_text_stream endpoint to support chunk content enrichment
- Update OpenAPI schema and examples to reflect array structure
- Update API README with breaking change notice and migration guide
- Fix RAGAS evaluation to flatten chunk content lists
2025-11-03 04:37:09 +01:00
..
api fix(api): Change content field from string to list in query responses 2025-11-03 04:37:09 +01:00
evaluation fix(api): Change content field from string to list in query responses 2025-11-03 04:37:09 +01:00
kg Add Qdrant legacy collection migration with workspace support 2025-10-30 19:16:33 +08:00
llm Add offline deployment support with cache management and layered deps 2025-10-11 10:28:14 +08:00
tools Add offline deployment support with cache management and layered deps 2025-10-11 10:28:14 +08:00
__init__.py Bump core version to 1.4.9.8 and API version to 0250 2025-10-31 05:23:48 +08:00
base.py Fix RayAnything compatible problem 2025-10-22 20:15:29 +08:00
constants.py Refactor entity merging with unified attribute merge function 2025-10-27 00:04:17 +08:00
exceptions.py Add Qdrant legacy collection migration with workspace support 2025-10-30 19:16:33 +08:00
lightrag.py Fix edge cleanup when deleting entities to prevent orphaned relationships 2025-10-31 02:36:15 +08:00
namespace.py Add entity/relation chunk tracking with configurable source ID limits 2025-10-20 15:24:15 +08:00
operate.py Rename function and variables for clarity in context building 2025-11-01 12:15:24 +08:00
prompt.py Fix typo in 'equipment' in prompt.py 2025-10-22 11:13:22 +08:00
rerank.py
types.py
utils.py Enhance entity/relation editing with chunk tracking synchronization 2025-10-26 14:34:56 +08:00
utils_graph.py Improve entity merge logging by removing redundant message and fixing typo 2025-10-31 17:16:59 +08:00