Update prosty-rag.cmd
Browse files- prosty-rag.cmd +7 -3
prosty-rag.cmd
CHANGED
|
@@ -4,7 +4,9 @@ echo \" >/dev/null ">NUL "\" \`" <#"; shopt -s expand_aliases || setopt aliases;
|
|
| 4 |
@set llamafile=prosty-rag.llamafile
|
| 5 |
@set modelfile="Prosty RAG - Bielik-4.5B-v3.0-Instruct.gguf"
|
| 6 |
@set modelURL=https://huggingface.co/gaianet/Bielik-4.5B-v3.0-Instruct-GGUF/resolve/main/Bielik-4.5B-v3.0-Instruct-Q6_K.gguf?download=true
|
| 7 |
-
@set embedfile=
|
|
|
|
|
|
|
| 8 |
@set dbfile=prosty-rag.db
|
| 9 |
@set indeksator=indeksator.cmd
|
| 10 |
@set logfile=prosty-rag.log
|
|
@@ -14,7 +16,8 @@ echo \" >/dev/null ">NUL "\" \`" <#"; shopt -s expand_aliases || setopt aliases;
|
|
| 14 |
:; # Instalacja
|
| 15 |
:; [ ! -f $llamafile ] && echo Pobieranie $llamafile... && curl -Lo $llamafile https://huggingface.co/jglowa/prosty-rag/resolve/main/prosty-rag.llamafile?download=true && chmod +x $llamafile && echo Gotowe!
|
| 16 |
:; [ ! -f "$modelfile" ] && echo Pobieranie $modelfile... && curl -Lo "$modelfile" $modelURL && echo Gotowe!
|
| 17 |
-
:; [ ! -f $embedfile ] && echo Pobieranie $embedfile... && curl -Lo $embedfile https://
|
|
|
|
| 18 |
:; [ ! -f $indeksator ] && echo Pobieranie $indeksator... && curl -Lo $indeksator https://huggingface.co/jglowa/prosty-rag/resolve/main/indeksator.cmd?download=true && chmod +x $indeksator && echo Gotowe!
|
| 19 |
:; [ ! -f $dbfile ] && ./$indeksator
|
| 20 |
:; # Uruchamianie
|
|
@@ -32,7 +35,8 @@ setlocal enabledelayedexpansion
|
|
| 32 |
:; # Instalacja
|
| 33 |
if not exist %llamafile% echo Pobieranie %llamafile%... && curl -Lo %llamafile% https://huggingface.co/jglowa/prosty-rag/resolve/main/prosty-rag.llamafile?download=true && echo Gotowe^^!
|
| 34 |
if not exist %modelfile% echo Pobieranie %modelfile%... && curl -Lo %modelfile% %modelURL% && echo Gotowe^^!
|
| 35 |
-
if not exist %embedfile% echo Pobieranie %embedfile%... && curl -Lo %embedfile% https://
|
|
|
|
| 36 |
if not exist %indeksator% echo Pobieranie %indeksator%... && curl -Lo %indeksator% https://huggingface.co/jglowa/prosty-rag/resolve/main/indeksator.cmd?download=true && echo Gotowe^^!
|
| 37 |
if not exist %dbfile% call %indeksator%
|
| 38 |
:; # Uruchamianie
|
|
|
|
| 4 |
@set llamafile=prosty-rag.llamafile
|
| 5 |
@set modelfile="Prosty RAG - Bielik-4.5B-v3.0-Instruct.gguf"
|
| 6 |
@set modelURL=https://huggingface.co/gaianet/Bielik-4.5B-v3.0-Instruct-GGUF/resolve/main/Bielik-4.5B-v3.0-Instruct-Q6_K.gguf?download=true
|
| 7 |
+
@set embedfile=prosty-rag.embedfile
|
| 8 |
+
@set embedmodelfile=bge-m3.gguf
|
| 9 |
+
@set embedmodelURL=https://huggingface.co/gpustack/bge-m3-GGUF/resolve/main/bge-m3-Q6_K.gguf?download=true
|
| 10 |
@set dbfile=prosty-rag.db
|
| 11 |
@set indeksator=indeksator.cmd
|
| 12 |
@set logfile=prosty-rag.log
|
|
|
|
| 16 |
:; # Instalacja
|
| 17 |
:; [ ! -f $llamafile ] && echo Pobieranie $llamafile... && curl -Lo $llamafile https://huggingface.co/jglowa/prosty-rag/resolve/main/prosty-rag.llamafile?download=true && chmod +x $llamafile && echo Gotowe!
|
| 18 |
:; [ ! -f "$modelfile" ] && echo Pobieranie $modelfile... && curl -Lo "$modelfile" $modelURL && echo Gotowe!
|
| 19 |
+
:; [ ! -f $embedfile ] && echo Pobieranie $embedfile... && curl -Lo $embedfile https://github.com/niutech/llamafile/releases/download/0.9.3/embedfile && chmod +x $embedfile && echo Gotowe!
|
| 20 |
+
:; [ ! -f "$embedmodelfile" ] && echo Pobieranie $embedmodelfile... && curl -Lo "$embedmodelfile" $embedmodelURL && echo Gotowe!
|
| 21 |
:; [ ! -f $indeksator ] && echo Pobieranie $indeksator... && curl -Lo $indeksator https://huggingface.co/jglowa/prosty-rag/resolve/main/indeksator.cmd?download=true && chmod +x $indeksator && echo Gotowe!
|
| 22 |
:; [ ! -f $dbfile ] && ./$indeksator
|
| 23 |
:; # Uruchamianie
|
|
|
|
| 35 |
:; # Instalacja
|
| 36 |
if not exist %llamafile% echo Pobieranie %llamafile%... && curl -Lo %llamafile% https://huggingface.co/jglowa/prosty-rag/resolve/main/prosty-rag.llamafile?download=true && echo Gotowe^^!
|
| 37 |
if not exist %modelfile% echo Pobieranie %modelfile%... && curl -Lo %modelfile% %modelURL% && echo Gotowe^^!
|
| 38 |
+
if not exist %embedfile% echo Pobieranie %embedfile%... && curl -Lo %embedfile% https://github.com/niutech/llamafile/releases/download/0.9.3/embedfile && echo Gotowe^^!
|
| 39 |
+
if not exist %embedmodelfile% echo Pobieranie %embedmodelfile%... && curl -Lo %embedmodelfile% %embedmodelURL% && echo Gotowe^^!
|
| 40 |
if not exist %indeksator% echo Pobieranie %indeksator%... && curl -Lo %indeksator% https://huggingface.co/jglowa/prosty-rag/resolve/main/indeksator.cmd?download=true && echo Gotowe^^!
|
| 41 |
if not exist %dbfile% call %indeksator%
|
| 42 |
:; # Uruchamianie
|