mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-18 01:06:39 +08:00
23 lines
600 B
Go
23 lines
600 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"`
|
|
Description string `json:"description"`
|
|
Parameters Parameters `json:"parameters"`
|
|
Required []string `json:"required"`
|
|
Action string `json:"action"`
|
|
Enabled bool `json:"enabled"`
|
|
}
|