Skip to content

The agent engineering platform.

community: fix "confluence-loader" enable include_labels for documents loaded via CQL (#29089)

Jin Hyung Ahnc8ca1cd42fea
diff --git a/libs/community/langchain_community/document_loaders/confluence.py b/libs/community/langchain_community/document_loaders/confluence.py
index 8af05fbe93..225488c9ce 100644
--- a/libs/community/langchain_community/document_loaders/confluence.py
+++ b/libs/community/langchain_community/document_loaders/confluence.py
@@ -408,7 +408,7 @@ class ConfluenceLoader(BaseLoader):
include_restricted_content,
include_attachments,
include_comments,
- False, # labels are not included in the search results
+ include_labels,
content_format,
ocr_languages,
keep_markdown_format,