mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
13 lines
276 B
Go
13 lines
276 B
Go
|
package common
|
||
|
|
||
|
type Vendor interface {
|
||
|
GetName() string
|
||
|
IsConfigured() bool
|
||
|
Configure() error
|
||
|
ListModels() ([]string, error)
|
||
|
SendStream([]*Message, *ChatOptions, chan string) error
|
||
|
Send([]*Message, *ChatOptions) (string, error)
|
||
|
GetSettings() Settings
|
||
|
Setup() error
|
||
|
}
|