Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelFactory ¶
type ModelFactory struct {
// contains filtered or unexported fields
}
ModelFactory creates LLM models based on configuration
func NewModelFactory ¶
func NewModelFactory(cfg *config.Config) *ModelFactory
NewModelFactory creates a new model factory
func (*ModelFactory) Close ¶
func (mf *ModelFactory) Close() error
Close cleans up resources (call when factory is no longer needed)
func (*ModelFactory) CreateModel ¶
CreateModel creates an LLM model based on the configured provider
func (*ModelFactory) GetProviderInfo ¶
func (mf *ModelFactory) GetProviderInfo() string
GetProviderInfo returns information about the current provider
Click to show internal directories.
Click to hide internal directories.