14 lines
328 B
Go
14 lines
328 B
Go
|
package llm
|
||
|
|
||
|
type Function struct {
|
||
|
Name string `json:"name"`
|
||
|
Description string `json:"description,omitempty"`
|
||
|
Strict bool `json:"strict,omitempty"`
|
||
|
Parameters any `json:"parameters"`
|
||
|
}
|
||
|
|
||
|
type FunctionCall struct {
|
||
|
Name string `json:"name,omitempty"`
|
||
|
Arguments any `json:"arguments,omitempty"`
|
||
|
}
|