Documentation ¶
Index ¶
- Variables
- func ListEmbeddingProviders() []string
- func ListLLMProviders() []string
- func ListTTSProviders() []string
- func NewEmbeddingClient(ctx context.Context, provider string, configs ...pconf.Config) (provider.EmbeddingClient, error)
- func NewLLMClient(ctx context.Context, provider string, configs ...pconf.Config) (provider.LLMClient, error)
- func NewTTSClient(ctx context.Context, provider string, configs ...pconf.Config) (provider.TTSClient, error)
- func RegisterEmbeddingProvider(name string, p provider.EmbeddingProvider)
- func RegisterLLMProvider(name string, p provider.LLMProvider)
- func RegisterTTSProvider(name string, p provider.TTSProvider)
- func RemoveEmbeddingProvider(name string)
- func RemoveLLMProvider(name string)
- func RemoveTTSProvider(name string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSuchProvider = errors.New("coord: no such provider")
Functions ¶
func ListEmbeddingProviders ¶
func ListEmbeddingProviders() []string
ListEmbeddingProviders returns the names of the registered embedding providers.
func ListLLMProviders ¶
func ListLLMProviders() []string
ListLLMProviders returns the names of the registered llm providers.
func ListTTSProviders ¶
func ListTTSProviders() []string
ListTTSProviders returns the names of the registered tts providers.
func NewEmbeddingClient ¶
func NewLLMClient ¶
func NewTTSClient ¶
func RegisterEmbeddingProvider ¶
func RegisterEmbeddingProvider(name string, p provider.EmbeddingProvider)
RegisterEmbeddingProvider registers an embedding provider.
func RegisterLLMProvider ¶
func RegisterLLMProvider(name string, p provider.LLMProvider)
RegisterLLMProvider registers a llm provider.
func RegisterTTSProvider ¶
func RegisterTTSProvider(name string, p provider.TTSProvider)
RegisterTTSProvider registers a tts provider.
func RemoveEmbeddingProvider ¶
func RemoveEmbeddingProvider(name string)
RemoveEmbeddingProvider removes an embedding provider.
func RemoveLLMProvider ¶
func RemoveLLMProvider(name string)
RemoveLLMProvider removes a llm provider.
func RemoveTTSProvider ¶
func RemoveTTSProvider(name string)
RemoveTTSProvider removes a tts provider.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.