You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
12 lines
436 B
Plaintext
Vendored
12 lines
436 B
Plaintext
Vendored
URL = "https://hut.openintegrations.dev/ollama";
|
|
Token = "12We34..."; // Authorization - not part API Ollama
|
|
|
|
Model = "mario";
|
|
|
|
AdditionalHeaders = New Map;
|
|
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
|
|
|
|
Settings = New Structure("from,system", "tinyllama", "You are Mario from Super Mario Bros.");
|
|
|
|
Result = OPI_Ollama.CreateModel(URL, Model, Settings, AdditionalHeaders);
|