You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
14 lines
471 B
Plaintext
Vendored
14 lines
471 B
Plaintext
Vendored
URL = "https://hut.openintegrations.dev/ollama";
|
|
Token = "12We34..."; // Authorization - not part API Ollama
|
|
|
|
StingsArray = New Array;
|
|
StingsArray.Add("Why is the sky blue?");
|
|
StingsArray.Add("Why is the grass green?");
|
|
|
|
Model = "tinyllama";
|
|
|
|
AdditionalHeaders = New Map;
|
|
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
|
|
|
|
Result = OPI_Ollama.GetEmbeddings(URL, Model, StingsArray, , AdditionalHeaders);
|