models

package
v0.0.0-...-d758db0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

Factory is used to create ChatModel for different providers

func NewFactory

func NewFactory(cfg *config.Config) *Factory

NewFactory creates a new Factory

func (*Factory) CreateChatModel

func (f *Factory) CreateChatModel(ctx context.Context, modelName string) (model.ToolCallingChatModel, error)

CreateChatModel creates corresponding ChatModel based on model name

Jump to

Keyboard shortcuts

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