1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-05 22:53:35 +02:00
Files
OpenIntegrations/docs/en/examples/Ollama/UnloadModelFromMemory.txt

10 lines
339 B
Plaintext
Raw Normal View History

2025-04-09 19:28:01 +03:00
 URL = "https://api.athenaeum.digital/ollama";
2025-05-01 23:28:11 +03:00
Token = "10KO-82..."; // Authorization - not part API Ollama
2025-04-09 19:28:01 +03:00
Model = "tinyllama";
AdditionalHeaders = New Map;
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
Result = OPI_Ollama.UnloadModelFromMemory(URL, Model, AdditionalHeaders);