Documentation
¶
Index ¶
- func BuiltinAliasModels() (fast, normal, powerful string)
- func DefaultModelID() string
- func DefaultOptions() []llm.Option
- func EmbeddedModels() []modelInfo
- func FastModelID() string
- func LocalAvailable() bool
- func ModelAliases() map[string]string
- func PowerfulModelID() string
- type Auth
- type Provider
- func (p *Provider) CreateStream(ctx context.Context, src llm.Buildable) (llm.Stream, error)
- func (p *Provider) FetchModels(ctx context.Context) ([]llm.Model, error)
- func (p *Provider) FetchRawModels(ctx context.Context) ([]byte, error)
- func (p *Provider) Models() llm.Models
- func (p *Provider) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuiltinAliasModels ¶
func BuiltinAliasModels() (fast, normal, powerful string)
func DefaultModelID ¶
func DefaultModelID() string
func DefaultOptions ¶
func EmbeddedModels ¶
func EmbeddedModels() []modelInfo
func FastModelID ¶
func FastModelID() string
func LocalAvailable ¶
func LocalAvailable() bool
func ModelAliases ¶
func PowerfulModelID ¶
func PowerfulModelID() string
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) CreateStream ¶
func (*Provider) FetchModels ¶
func (*Provider) FetchRawModels ¶
Click to show internal directories.
Click to hide internal directories.