fabric/common/vendor.go
Jonathan Dunn 7399d84446 initial
2024-08-16 15:43:27 -04:00

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
}