fal

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FalLLM

type FalLLM struct {
	// contains filtered or unexported fields
}

func NewFalLLM

func NewFalLLM(apiKey string, model string) *FalLLM

func (*FalLLM) Chat

func (l *FalLLM) Chat(ctx context.Context, chatCtx *llm.ChatContext, opts ...llm.ChatOption) (llm.LLMStream, error)

type FalSTT

type FalSTT struct {
	// contains filtered or unexported fields
}

func NewFalSTT

func NewFalSTT(apiKey string) *FalSTT

func (*FalSTT) Capabilities

func (s *FalSTT) Capabilities() stt.STTCapabilities

func (*FalSTT) Label

func (s *FalSTT) Label() string

func (*FalSTT) Recognize

func (s *FalSTT) Recognize(ctx context.Context, frames []*model.AudioFrame, language string) (*stt.SpeechEvent, error)

func (*FalSTT) Stream

func (s *FalSTT) Stream(ctx context.Context, language string) (stt.RecognizeStream, error)

Jump to

Keyboard shortcuts

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