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/vendors/vendor.go

18 lines
385 B
Go

package vendors
4 weeks ago
import (
"bytes"
"github.com/danielmiessler/fabric/common"
)
type Vendor interface {
GetName() string
IsConfigured() bool
Configure() error
ListModels() ([]string, error)
SendStream([]*common.Message, *common.ChatOptions, chan string) error
Send([]*common.Message, *common.ChatOptions) (string, error)
Setup() error
4 weeks ago
SetupFillEnvFileContent(*bytes.Buffer)
}