Open chuangzhidan opened 1 month ago
you can update in DBSummary
you can update in
DBSummary
这个,不知道怎么有关系 class DBSummary: """Database summary class."""
def __init__(self, name: str):
"""Create a new DBSummary."""
self.name = name
self.summary: Optional[str] = None
self.tables: Iterable[str] = []
self.metadata: Optional[str] = None
def get_summary(self) -> Optional[str]:
"""Get the summary."""
return self.summary
?
我在给我们自己的产品,做类似的功能,分了几步,仅供参考: 1:添加编辑数据界面 2:添加写入数据后台接口 3:数据写入向量库 4:相关性搜索中添加查询逻辑
另外,wanna 中的 问题-SQL 对,对提升 nl2sql 的准确性应该有帮助, 建议 DB-GPT 考虑引入
This issue has been marked as stale
, because it has been over 30 days without any activity.
Search before asking
Description
No response
Documentation Links
No response
Are you willing to submit PR?