23 lines
568 B
PowerShell
23 lines
568 B
PowerShell
# BGE M3 Embedding Server
|
|
# SaherElm IT Center
|
|
# Hadi Khazaee Asl
|
|
# hadi_khazaee_asl@yahoo.com
|
|
$Exe = "D:\Projects\LLMs\llamafile.exe"
|
|
$Log = "D:\Projects\LLMs\Logs\bgem3.log"
|
|
$APIKey = "xapp_sH0MbXEkCNEP9CQ_RLEkD-Fh7QhGUnzwyGcJfSmy_VY"
|
|
$Model = "D:\Projects\LLMs\Prepared\BGEm3\Model\bge-m3.gguf"
|
|
|
|
$Arguments = @(
|
|
"--server", ""
|
|
"--port", "1113"
|
|
"--embedding", ""
|
|
"--ctx-size", "0"
|
|
"--host", "0.0.0.0"
|
|
"--alias", "BGE-M3"
|
|
"--model", "`"$Model`""
|
|
"--api-key", "`"$APIKey`""
|
|
)
|
|
|
|
Set-Location (Split-Path $Exe)
|
|
|
|
& $Exe @Arguments *>> $Log |