[Bug] pdf_split_handle.py文件代码逻辑缺陷
Contact Information
No response
MaxKB Version
2.61
Problem Description
pdf的都没有落图到oss当中,查看pdf_split_handle.py代码,方法传递了save_iamge方法,但在处理逻辑中并为调用该逻辑进行图片保存。导致图片类型的pdf文件上传到知识库中都是损坏图片。
Steps to Reproduce
上传带有图片的pdf,图片都是损坏。
The expected correct result
No response
Related log output
Additional Information
No response
Hey! I may be able to help with this bug.
I build custom fixes for Python projects and automation systems.
If you'd like help resolving this issue quickly feel free to reach out.
Happy to take a look 👍
Currently, images are not extracted from the PDF; only the text is extracted, so the save_image function is not needed
Currently, images are not extracted from the PDF; only the text is extracted, so the save_image function is not needed
知识库pdf文件不提取图片这也太不专业了吧。太demo了
感谢使用。