网站首页
编程语言
数据库
系统相关
其他分享
编程问答
LibreOffice7.1
2024-10-17
内网Centos7.9 LibreOffice7.1安装包
在Rag模型读取document时发现doc文件SimpleDirectoryReader无法正常读取字符,所以采用LibreOffice将doc转化为docx的方式。内网LibreOffice安装然后python循环的调用的方式来对inputdocuments进行转换,转换后的docxSimpleDirectoryReader可以正常读取。LibreOffice7.1安装参考:ht