Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [文档解析] 文档解析 #295

Open
2 tasks done
sheneven opened this issue Jan 17, 2025 · 0 comments
Open
2 tasks done

[Bug] [文档解析] 文档解析 #295

sheneven opened this issue Jan 17, 2025 · 0 comments

Comments

@sheneven
Copy link

Search before asking

  • 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?

  • Yes I am willing to submit a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant