Skip to content

Commit

Permalink
fix(confluence-loader): enable include_labels for documents loaded vi…
Browse files Browse the repository at this point in the history
…a CQL

- Updated _lazy_load to pass the include_labels parameter instead of False in process_pages calls for documents loaded via CQL.
- Ensured that labels can now be fetched and added to the metadata for documents queried with cql.
  • Loading branch information
zenoengine committed Jan 8, 2025
1 parent b1dafae commit ca8161b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def _lazy_load(self, **kwargs: Any) -> Iterator[Document]:
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,
Expand Down

0 comments on commit ca8161b

Please sign in to comment.