KAG icon indicating copy to clipboard operation
KAG copied to clipboard

[Bug] [文档解析] 文档解析

Open sheneven opened this issue 11 months ago • 4 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

Operating system information

Linux

What happened

我上传了一篇小说的第一章内容,解析报错。

Image

第一章.txt

pemja.core.PythonException: <class 'RuntimeError'>: LLM invoke exception, info: RetryError[<Future at 0x7fde8e3db970 state=finished raised ResponseError>] llm input: llm output: at /openspg_venv/lib/python3.8/site-packages/kag/bridge/spg_server_bridge.run_component(spg_server_bridge.py:49) at /openspg_venv/lib/python3.8/site-packages/kag/interface/builder/base.invoke(base.py:114) at /openspg_venv/lib/python3.8/site-packages/kag/builder/component/splitter/semantic_splitter._invoke(semantic_splitter.py:157) at /openspg_venv/lib/python3.8/site-packages/kag/builder/component/splitter/semantic_splitter.semantic_chunk(semantic_splitter.py:119) at /openspg_venv/lib/python3.8/site-packages/kag/interface/common/llm_client.invoke(llm_client.py:114) at pemja.core.PythonInterpreter.invokeMethod(Native Method) at pemja.core.PythonInterpreter.invokeMethod(PythonInterpreter.java:118) at com.antgroup.openspg.common.util.pemja.PemjaUtils.invoke(PemjaUtils.java:33) at com.antgroup.openspg.server.core.scheduler.service.task.async.builder.KagSplitterAsyncTask$SplitterTaskCallable.splitterChunk(KagSplitterAsyncTask.java:216)

How to reproduce

  1. i install kag and spg correctly.it could works with the 3 offical test document
  2. and i upload the attachment ,it report python errors .

Are you willing to submit PR?

  • [x] Yes I am willing to submit a PR!

sheneven avatar Jan 17 '25 07:01 sheneven

一样,请问解决了吗?

zzzcccxx avatar Feb 18 '25 06:02 zzzcccxx

一样,请问解决了吗?

UPTOLIMIT avatar Feb 20 '25 07:02 UPTOLIMIT

一样,请问解决了吗?

@UPTOLIMIT 我是更新了下docker 镜像和 docker-compose.yml 文件就可以了。

zzzcccxx avatar Feb 20 '25 08:02 zzzcccxx

更新的哪个版本的镜像?, docker-compose.yml 如何修改的?

verigle avatar Mar 08 '25 09:03 verigle

更新的哪个版本的镜像?, docker-compose.yml 如何修改的?

Delete the local images and container, then re-pull latest images using docker-compose.yaml.

caszkgui avatar Aug 16 '25 01:08 caszkgui