You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
10
docs/en/examples/Ollama/LoadModelToMemory.txt
vendored
Normal file
10
docs/en/examples/Ollama/LoadModelToMemory.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
URL = "https://api.athenaeum.digital/ollama";
|
||||
Token = "10KO..."; // Authorization - not part API Ollama
|
||||
|
||||
Model = "tinyllama";
|
||||
Period = 500;
|
||||
|
||||
AdditionalHeaders = New Map;
|
||||
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
|
||||
|
||||
Result = OPI_Ollama.LoadModelToMemory(URL, Model, Period, AdditionalHeaders);
|
||||
9
docs/en/examples/Ollama/UnloadModelFromMemory.txt
vendored
Normal file
9
docs/en/examples/Ollama/UnloadModelFromMemory.txt
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
URL = "https://api.athenaeum.digital/ollama";
|
||||
Token = "10KO..."; // Authorization - not part API Ollama
|
||||
|
||||
Model = "tinyllama";
|
||||
|
||||
AdditionalHeaders = New Map;
|
||||
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
|
||||
|
||||
Result = OPI_Ollama.UnloadModelFromMemory(URL, Model, AdditionalHeaders);
|
||||
Reference in New Issue
Block a user