LightRAG/lightrag
anouarbm 7ce251c319 docs: Add documentation and examples for include_chunk_content parameter
Added comprehensive documentation for the new include_chunk_content parameter
that enables retrieval of actual chunk text content in API responses.

Documentation Updates:
- Added "Include Chunk Content in References" section to API README
- Explained use cases: RAG evaluation, debugging, citations, transparency
- Provided JSON request/response examples
- Clarified parameter interaction with include_references

OpenAPI/Swagger Examples:
- Added "Response with chunk content" example to /query endpoint
- Shows complete reference structure with content field
- Demonstrates realistic chunk text content

This makes the feature discoverable through:
1. API documentation (README.md)
2. Interactive Swagger UI (http://localhost:9621/docs)
3. Code examples for developers

(cherry picked from commit 963ad4c637)
2025-12-04 19:11:20 +08:00
..
api docs: Add documentation and examples for include_chunk_content parameter 2025-12-04 19:11:20 +08:00
evaluation Optimize RAGAS evaluation with parallel execution and chunk content enrichment 2025-12-04 19:11:20 +08:00
kg Add entity/relation chunk tracking with configurable source ID limits 2025-12-04 19:11:19 +08:00
llm Refactor keyword_extraction from kwargs to explicit parameter 2025-12-04 19:11:09 +08:00
models tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
services tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
tools Remove manual initialize_pipeline_status() calls across codebase 2025-12-04 19:11:17 +08:00
__init__.py Bump core version to 1.4.9.1 2025-09-28 15:25:02 +08:00
base.py Add entity/relation chunk tracking with configurable source ID limits 2025-12-04 19:11:19 +08:00
constants.py Add entity/relation chunk tracking with configurable source ID limits 2025-12-04 19:11:19 +08:00
exceptions.py Add Qdrant legacy collection migration with workspace support 2025-12-04 19:11:15 +08:00
lightrag.py Fix entity and relationship deletion when no chunk references remain 2025-12-04 19:11:19 +08:00
namespace.py Add entity/relation chunk tracking with configurable source ID limits 2025-12-04 19:11:19 +08:00
operate.py Add entity/relation chunk tracking with configurable source ID limits 2025-12-04 19:11:19 +08:00
prompt.py Improve prompt clarity by standardizing terminology and formatting 2025-09-28 13:31:55 +08:00
rerank.py Fix trailing whitespace and update test mocking for rerank module 2025-12-04 19:11:14 +08:00
security.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
tenant_rag_manager.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
types.py
utils.py Enhance entity/relation editing with chunk tracking synchronization 2025-12-04 19:11:19 +08:00
utils_context.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
utils_graph.py Add chunk tracking support to entity merge functionality 2025-12-04 19:11:19 +08:00