modelsyncer

package
v0.80.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S

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

S is a syncer.

func New

func New(
	om ollamaManager,
	s3Client s3Client,
	miClient modelInternalClient,
) *S

New creates a syncer..

func (*S) PullModel added in v0.56.0

func (s *S) PullModel(ctx context.Context, modelID string) error

PullModel downloads and registers a model from model manager.

Jump to

Keyboard shortcuts

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