models

package
v0.3.29 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

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

Source is the core.models runtime module.

func New

func New() *Source

func (*Source) AsModule

func (s *Source) AsModule() bool

func (*Source) Attach

func (s *Source) Attach(ctx context.Context, pool *db.Pool) error

func (*Source) Catalog

func (s *Source) Catalog(_ context.Context) (cs.Catalog, error)

func (*Source) DataSourceServiceSetup

func (s *Source) DataSourceServiceSetup(resolver sources.DataSourceResolver)

DataSourceServiceSetup implements sources.RuntimeSourceDataSourceUser.

func (*Source) Engine

func (s *Source) Engine() engines.Engine

func (*Source) IsReadonly

func (s *Source) IsReadonly() bool

func (*Source) Name

func (s *Source) Name() string

func (*Source) Subscribe added in v0.3.20

func (s *Source) Subscribe(ctx context.Context, field *ast.Field, vars map[string]any) (*sources.SubscriptionResult, error)

Subscribe implements sources.SubscriptionSource for streaming LLM completions.

Jump to

Keyboard shortcuts

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