mirror of
https://gitee.com/blackfox/geekai.git
synced 2024-12-04 21:27:39 +08:00
24 lines
646 B
Go
24 lines
646 B
Go
package vo
|
|
|
|
type Parameters struct {
|
|
Type string `json:"type"`
|
|
Required []string `json:"required,omitempty"`
|
|
Properties map[string]Property `json:"properties"`
|
|
}
|
|
|
|
type Property struct {
|
|
Type string `json:"type"`
|
|
Description string `json:"description"`
|
|
}
|
|
|
|
type Function struct {
|
|
Id uint `json:"id"`
|
|
Name string `json:"name"`
|
|
Label string `json:"label"`
|
|
Description string `json:"description"`
|
|
Parameters Parameters `json:"parameters"`
|
|
Action string `json:"action"`
|
|
Token string `json:"token"`
|
|
Enabled bool `json:"enabled"`
|
|
}
|