1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/Ollama/LoadModelToMemory.txt
Vitaly the Alpaca (bot) b6733bd7be Main build (Jenkins)
2025-04-09 19:28:01 +03:00

11 lines
359 B
Plaintext
Vendored

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);