tungsten106

Results 3 comments of tungsten106

可以找到 [langchain_experimental](https://api.python.langchain.com/en/latest/tools/langchain_experimental.tools.python.tool.PythonAstREPLTool.html) 有一个相似的函数,可能是旧版本的函数被转移到了这里。安装这个包: ``` pip install langchain_experimental ``` 然后把 `langchain.tools.python.tool` 改为 `langchain_experimental.tools.python.tool` 就可以了。 (目前langchain版本0.1.12,langchain_experimental版本0.0.54

> @tungsten106 I'd love to review this, but the diffs seem to have issues (entire file is shown as deleted, with all the lines also shown as added). I'm having...

It is possible to use fitz/PyMuPDF to extract image at each page (just not at the **exact position** like docx files), save it to a position and label it as...