Documentation
¶
Overview ¶
Package config centralizes strict runtime configuration for SyncBase binaries.
Index ¶
- Constants
- func Bool(name string, fallback bool) (bool, error)
- func CSV(name string, fallback []string) []string
- func Duration(name string, fallback time.Duration) (time.Duration, error)
- func Profile() (knowledge.Profile, string, error)
- func Required(name string) (string, error)
- func RuntimeLibrarySHA256() (string, error)
- func Value(name, fallback string) string
Constants ¶
View Source
const ( // ModelSHA256 pins the only accepted multilingual-E5 model artifact. ModelSHA256 = "ca456c06b3a9505ddfd9131408916dd79290368331e7d76bb621f1cba6bc8665" // TokenizerSHA256 pins the only accepted multilingual-E5 tokenizer artifact. TokenizerSHA256 = "0b44a9d7b51c3c62626640cda0e2c2f70fdacdc25bbbd68038369d14ebdf4c39" // ONNXRuntimeID identifies the platform-independent inference runtime in the processing profile. ONNXRuntimeID = "onnxruntime-1.26.0" )
Variables ¶
This section is empty.
Functions ¶
func RuntimeLibrarySHA256 ¶
RuntimeLibrarySHA256 returns the pinned ONNX Runtime shared-library digest for the current process architecture.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.