Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultModelName = "ggml-base.bin" CacheDirName = "whisper.cpp" )
Variables ¶
This section is empty.
Functions ¶
func GetModelPath ¶
GetModelPath returns the path to the model file.
Types ¶
type ModelPathOptions ¶
ModelPathOptions is used to configure the model path.
type Option ¶
type Option func(*ModelPathOptions)
Option is a function that configures a ModelPathOptions.
func WithAutoFetch ¶
func WithAutoFetch() Option
WithAutoFetch enables auto-fetching of the model if it is not found.
func WithModelName ¶
WithModelName sets the model name to use.
Click to show internal directories.
Click to hide internal directories.