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] [plugin] 关于金融财报的的flow的一些问题. #2017

Closed
6 of 15 tasks
MarvinLong opened this issue Sep 13, 2024 · 2 comments
Closed
6 of 15 tasks

[Bug] [plugin] 关于金融财报的的flow的一些问题. #2017

MarvinLong opened this issue Sep 13, 2024 · 2 comments
Labels
bug Something isn't working Waiting for reply

Comments

@MarvinLong
Copy link

Search before asking

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

Operating system information

Linux

Python version information

3.10

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

GPT Count:1
GPU Memory: 24G

Models information

Online LLM

What happened

  1. 首先使用 dbgpt install financial-report-knowledge-factory financial-robot-app -U 安装了这两个APP.
  2. 基于 financial-report-knowledge-factory 构建了一个知识库并上传pdf文件成功,此时直接点击知识库上的开始对话,可以正常检索对话.
    此时一切正常,但是这里面的对话没有 financial-robot-app 中的意图识别和text2sql等,我准备尝试在 DB-GPT中使用 financial-robot-app 功能.

此时点击 financial-robot-app 上的开始对话,会报错[SERVER_ERROR]'NoneType' object has no attribute 'get'
定位到代码中会提示发现是 financial_robot_app 的 context 是 None.
site-packages/financial_robot_app/__init__.py", line 79, in map db_name = input_value.context.extra.get("db_name") AttributeError: 'NoneType' object has no attribute 'get'

请问各位大佬有跑通的没?

What you expected to happen

我想尝试完成 feat(ChatKnowledge): Support Financial Report Analysis 中的 scene1 ~ scene3的测试.

How to reproduce

请问如何通过 input_value 传入content?

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@MarvinLong MarvinLong added bug Something isn't working Waiting for reply labels Sep 13, 2024
@Aries-ckt
Copy link
Collaborator

hi, could you show the screenshot about how your upload financial report, and show the log about dbgpt server?
reference https://www.yuque.com/eosphoros/dbgpt-docs/fwy03x9ygqtbsuno

@MarvinLong
Copy link
Author

MarvinLong commented Sep 14, 2024

hi, could you show the screenshot about how your upload financial report, and show the log about dbgpt server? reference https://www.yuque.com/eosphoros/dbgpt-docs/fwy03x9ygqtbsuno

Hi, thank you for the reply. I could get the right answer by following the steps. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

2 participants