Feat: support pic base bullet for PPT (#6406)

### What problem does this PR solve?

support pic base bullet for PPT

modify one mistake in document

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Stephen Hu 2025-03-24 09:31:31 +08:00 committed by GitHub
parent efc4796f01
commit d77380f024
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class RAGFlowPptParser:
super().__init__()
def __get_bulleted_text(self, paragraph):
is_bulleted = bool(paragraph._p.xpath("./a:pPr/a:buChar")) or bool(bool(paragraph._p.xpath("./a:pPr/a:buAutoNum")) )
is_bulleted = bool(paragraph._p.xpath("./a:pPr/a:buChar")) or bool(paragraph._p.xpath("./a:pPr/a:buAutoNum")) or bool(paragraph._p.xpath("./a:pPr/a:buBlip"))
if is_bulleted:
return f"{' '* paragraph.level}.{paragraph.text}"
else:

View File

@ -1149,7 +1149,7 @@ curl --request GET \
- `dataset_id`: (*Path parameter*)
The associated dataset ID.
- `document_ids`: (*Path parameter*)
- `document_id`: (*Path parameter*)
The associated document ID.
- `keywords`(*Filter parameter*), `string`
The keywords used to match chunk content.