model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package model manages embedding model files: download, cache directory resolution, and format conversion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchModel

func FetchModel(name, destDir string, progress func(string)) (string, error)

FetchModel downloads the ONNX model and tokenizer for the named model into destDir. Existing files are skipped. progress receives human-readable status messages. Returns the resolved directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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