Documentation ¶
Index ¶
- func LoadTextToEmbeddingprovider(provider AIProvider, model string) (baseprovider.TextToEmbeddingProvider, error)
- func LoadTextToJSONProvider(provider AIProvider, model string) (baseprovider.TextToJSONProvider, error)
- func LoadTextToSpeechProvider(provider AIProvider, model string) (baseprovider.TextToSpeechProvider, error)
- func LoadTextToTextProvider(provider AIProvider, model string) (baseprovider.TextToTextProvider, error)
- func LoadTextToTextReasoningProvider(provider AIProvider, model string) (baseprovider.TextToTextProvider, error)
- type AIProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTextToEmbeddingprovider ¶ added in v0.3.2
func LoadTextToEmbeddingprovider( provider AIProvider, model string, ) (baseprovider.TextToEmbeddingProvider, error)
func LoadTextToJSONProvider ¶ added in v0.2.0
func LoadTextToJSONProvider( provider AIProvider, model string, ) (baseprovider.TextToJSONProvider, error)
func LoadTextToSpeechProvider ¶ added in v0.2.3
func LoadTextToSpeechProvider( provider AIProvider, model string, ) (baseprovider.TextToSpeechProvider, error)
func LoadTextToTextProvider ¶
func LoadTextToTextProvider( provider AIProvider, model string, ) (baseprovider.TextToTextProvider, error)
func LoadTextToTextReasoningProvider ¶
func LoadTextToTextReasoningProvider( provider AIProvider, model string, ) (baseprovider.TextToTextProvider, error)
Types ¶
type AIProvider ¶
type AIProvider string
const ( OpenAIProvider AIProvider = "openai" AnthropicProvider AIProvider = "anthropic" OpenRouterProvider AIProvider = "openrouter" OllamaProvider AIProvider = "ollama" )
func CheckProvider ¶
func CheckProvider() AIProvider
func (AIProvider) String ¶
func (p AIProvider) String() string
Click to show internal directories.
Click to hide internal directories.