provider

package
v0.0.0-...-3a5371b Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddingClient

type EmbeddingClient interface {
	NewEmbedding(model string, config *embedding.Config) (embedding.Model, error)
	Close() error
}

type EmbeddingProvider

type EmbeddingProvider interface {
	NewEmbeddingClient(ctx context.Context, configs ...pconf.Config) (EmbeddingClient, error)
}

type LLMClient

type LLMClient interface {
	NewLLM(model string, config *llm.Config) (llm.Model, error)
	Close() error
}

type LLMProvider

type LLMProvider interface {
	NewLLMClient(ctx context.Context, configs ...pconf.Config) (LLMClient, error)
}

type TTSClient

type TTSClient interface {
	NewTTS(model string, config *tts.Config) (tts.Model, error)
	Close() error
}

type TTSProvider

type TTSProvider interface {
	NewTTSClient(ctx context.Context, configs ...pconf.Config) (TTSClient, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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