bootstrap

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultModelID = "sentence-transformers/all-MiniLM-L6-v2"
)

Variables

This section is empty.

Functions

func AddFlags

func AddFlags(fs *flag.FlagSet, opts *Options)

func EnsureConfig

func EnsureConfig(cfg string) error

func Run

func Run(opts Options, stdout, stderr io.Writer) error

Types

type Options

type Options struct {
	ConfigPath        string
	SkipModelDownload bool
	DownloadModel     bool
	SkipRuntimeCheck  bool
	SkipOllamaCheck   bool
	ModelID           string
	OllamaBaseURL     string
	OllamaModel       string
}

func DefaultOptions

func DefaultOptions() Options

Jump to

Keyboard shortcuts

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