DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

[Bug] [Module Name] ChatKnowledge response no BaseModel

Open 0sengseng0 opened this issue 1 year ago • 3 comments

Search before asking

  • [X] 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

GPU

Models information

GPU

What happened

小问题。 首先知识库的响应类KnowledgeQueryResponse目前在dbgpt/app/knowledge/request/request.py文件中,且没加BaseModel。
image

What you expected to happen

image

How to reproduce

image

Additional context

No response

Are you willing to submit PR?

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

0sengseng0 avatar Jan 30 '24 01:01 0sengseng0

@0sengseng0 Thanks, Can you commit a PR to fix this?

csunny avatar Jan 30 '24 02:01 csunny

@0sengseng0 Thanks, Can you commit a PR to fix this?

当然

0sengseng0 avatar Feb 26 '24 08:02 0sengseng0

This issue has been marked as stale, because it has been over 30 days without any activity.

github-actions[bot] avatar Mar 27 '24 21:03 github-actions[bot]

This issue bas been closed, because it has been marked as stale and there has been no activity for over 7 days.

github-actions[bot] avatar Jun 04 '24 21:06 github-actions[bot]