Gpt (#1389)
* fix:优化自动化代码搜索区域 (#1382) * 增加gpt功能(万用表格) * feat: chatTable页面 --------- Co-authored-by: ipanghu <bypanghu@163.com> Co-authored-by: 陶正虎 <zhenghu.tao@jutze.com.cn> Co-authored-by: krank <emosick@qq.com>
This commit is contained in:
committed by
GitHub
co-authored by
ipanghu
陶正虎
krank
parent
a207c982b7
commit
64608f6b05
@@ -0,0 +1,11 @@
|
||||
package request
|
||||
|
||||
import (
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/model/common/request"
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/model/system"
|
||||
)
|
||||
|
||||
type ChatGptRequest struct {
|
||||
system.ChatGpt
|
||||
request.PageInfo
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package response
|
||||
|
||||
type ChatGptResponse struct {
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package system
|
||||
|
||||
type ChatGpt struct {
|
||||
DBName string `json:"dbname,omitempty"`
|
||||
Chat string `json:"chat,omitempty"`
|
||||
ChatID string `json:"chatID,omitempty"`
|
||||
}
|
||||
|
||||
type SysChatGptOption struct {
|
||||
SK string `json:"sk"`
|
||||
}
|
||||
|
||||
type ChatField struct {
|
||||
TABLE_NAME string
|
||||
COLUMN_NAME string
|
||||
COLUMN_COMMENT string
|
||||
}
|
||||
|
||||
type ChatFieldNoTable struct {
|
||||
COLUMN_NAME string
|
||||
COLUMN_COMMENT string
|
||||
}
|
||||
Reference in New Issue
Block a user