Add windows embeddings as well.

This commit is contained in:
2025-12-16 12:38:53 +00:00
parent 0f78f6af43
commit 47c83a71e2
3 changed files with 34 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
//go:build windows
package embedding
// Windows doesn't need the providers shared library
var onnxRuntimeProvidersLib []byte
const onnxRuntimeProvidersLibName = ""
+12
View File
@@ -0,0 +1,12 @@
//go:build windows && amd64
package embedding
import (
_ "embed"
)
//go:embed assets/lib/windows-amd64/onnxruntime.dll
var onnxRuntimeLib []byte
const onnxRuntimeLibName = "onnxruntime.dll"