base

package
v1.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
}

func (*Base) AudioTranscription

func (llm *Base) AudioTranscription(*pb.TranscriptRequest) (api.Result, error)

func (*Base) Embeddings

func (llm *Base) Embeddings(opts *pb.PredictOptions) ([]float32, error)

func (*Base) GenerateImage

func (llm *Base) GenerateImage(*pb.GenerateImageRequest) error

func (*Base) Load

func (llm *Base) Load(opts *pb.ModelOptions) error

func (*Base) Predict

func (llm *Base) Predict(opts *pb.PredictOptions) (string, error)

func (*Base) PredictStream

func (llm *Base) PredictStream(opts *pb.PredictOptions, results chan string) error

func (*Base) TTS

func (llm *Base) TTS(*pb.TTSRequest) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL