You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fabric/common/vendor.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
}