From a5187f1db4d863aed943aa02e556b0e57ef0c837 Mon Sep 17 00:00:00 2001 From: Andrew Rathbun <36825567+AndrewRathbun@users.noreply.github.com> Date: Sat, 26 Oct 2024 15:51:56 -0400 Subject: [PATCH] Update PowerShell_Ollama_AI_Blobs.mkape --- Modules/Apps/PowerShell_Ollama_AI_Blobs.mkape | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Apps/PowerShell_Ollama_AI_Blobs.mkape b/Modules/Apps/PowerShell_Ollama_AI_Blobs.mkape index 03902e3ac..d01255609 100644 --- a/Modules/Apps/PowerShell_Ollama_AI_Blobs.mkape +++ b/Modules/Apps/PowerShell_Ollama_AI_Blobs.mkape @@ -10,7 +10,7 @@ Processors: CommandLine: "$destinationPath = '%DestinationDirectory%\\ollama_combined_blobs.txt'; $usersPath = Join-Path '%SourceDirectory%' 'Users'; Get-ChildItem -Path $usersPath -Directory | ForEach-Object { $modelsPath = Join-Path $_.FullName '.ollama\\models\\blobs'; if (Test-Path $modelsPath) { Get-ChildItem -Path $modelsPath -File | Where-Object { $_.Length -lt 2KB } | ForEach-Object { $fileContent = Get-Content -Path $_.FullName -Raw -ErrorAction SilentlyContinue; if ($fileContent -match '\"model_format\"') { $entry = ('{0} | {1}' -f $_.Name, $fileContent); Add-Content -Path $destinationPath -Value $entry; Add-Content -Path $destinationPath -Value \"`r`n\"; } } } }" ExportFormat: txt -# Documentation +# Documentation # https://ollama.com/blog | https://github.com/ollama/ollama | https://hub.docker.com/r/ollama/ollama # Ollama is used for self-hosted AI inference, and it supports many models out of the box. # Ollama serves as the backend for common AI projects such as OpenWebUI, among others.