mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-15 13:38:07 +00:00
feat: add falcon ggllm via grpc client
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
11
pkg/grpc/interface.go
Normal file
11
pkg/grpc/interface.go
Normal file
@ -0,0 +1,11 @@
|
||||
package grpc
|
||||
|
||||
import (
|
||||
pb "github.com/go-skynet/LocalAI/pkg/grpc/proto"
|
||||
)
|
||||
|
||||
type LLM interface {
|
||||
Predict(*pb.PredictOptions) (string, error)
|
||||
PredictStream(*pb.PredictOptions, chan string)
|
||||
Load(*pb.ModelOptions) error
|
||||
}
|
Reference in New Issue
Block a user