1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/Ollama/LoadModelToMemory.txt

11 lines
378 B
Plaintext
Raw Normal View History

2025-10-20 19:41:52 +03:00
 URL = FunctionParameters["Ollama_URL"];
Token = FunctionParameters["Ollama_Token"]; // Authorization - not part API Ollama
2025-04-09 19:28:01 +03:00
Model = "tinyllama";
Period = 500;
AdditionalHeaders = New Map;
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
Result = OPI_Ollama.LoadModelToMemory(URL, Model, Period, AdditionalHeaders);