mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-17 16:56:38 +08:00
25 lines
678 B
Go
25 lines
678 B
Go
package vo
|
|
|
|
type Parameters struct {
|
|
Type string `json:"type"`
|
|
Required []string `json:"required"`
|
|
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"`
|
|
Required []string `json:"required"`
|
|
Action string `json:"action"`
|
|
Token string `json:"token"`
|
|
Enabled bool `json:"enabled"`
|
|
}
|