Documentation
¶
Overview ¶
Package model composes a typed coding configuration and credential store into an existing provider-neutral language model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("coding model: invalid configuration")
ErrInvalid means the resolved model or credential store is invalid.
Functions ¶
func New ¶
func New( ctx context.Context, resolved modelcatalog.ResolvedModel, store credential.Store, ) (ai.LanguageModel, error)
New constructs a native or compatible provider adapter from one complete immutable resolved snapshot.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.