You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
14 lines
469 B
Plaintext
Vendored
14 lines
469 B
Plaintext
Vendored
URL = "https://api.athenaeum.digital/ollama";
|
|
Token = "10KO-82..."; // 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);
|