You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -35,8 +35,8 @@ Method at API documentation: [Generate a chat completion](https://github.com/oll
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://api.athenaeum.digital/ollama";
|
||||
Token = "10KO-82..."; // Authorization - not part API Ollama
|
||||
URL = FunctionParameters["Ollama_URL"];
|
||||
Token = FunctionParameters["Ollama_Token"]; // Authorization - not part API Ollama
|
||||
|
||||
AdditionalHeaders = New Map;
|
||||
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
|
||||
|
||||
@@ -35,8 +35,8 @@ Method at API documentation: [Generate Embeddings](https://github.com/ollama/oll
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://api.athenaeum.digital/ollama";
|
||||
Token = "10KO-82..."; // Authorization - not part API Ollama
|
||||
URL = FunctionParameters["Ollama_URL"];
|
||||
Token = FunctionParameters["Ollama_Token"]; // Authorization - not part API Ollama
|
||||
|
||||
StingsArray = New Array;
|
||||
StingsArray.Add("Why is the sky blue?");
|
||||
|
||||
@@ -35,8 +35,8 @@ Method at API documentation: [Generate a completion](https://github.com/ollama/o
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://api.athenaeum.digital/ollama";
|
||||
Token = "10KO-82..."; // Authorization - not part API Ollama
|
||||
URL = FunctionParameters["Ollama_URL"];
|
||||
Token = FunctionParameters["Ollama_Token"]; // Authorization - not part API Ollama
|
||||
|
||||
Prompt = "What is 1C:Enterprise?";
|
||||
Model = "tinyllama";
|
||||
|
||||
@@ -32,8 +32,8 @@ Method at API documentation: [Version](https://github.com/ollama/ollama/blob/mai
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://api.athenaeum.digital/ollama";
|
||||
Token = "10KO-82..."; // Authorization - not part API Ollama
|
||||
URL = FunctionParameters["Ollama_URL"];
|
||||
Token = FunctionParameters["Ollama_Token"]; // Authorization - not part API Ollama
|
||||
|
||||
AdditionalHeaders = New Map;
|
||||
AdditionalHeaders.Insert("Authorization", StrTemplate("Bearer %1", Token));
|
||||
|
||||
Reference in New Issue
Block a user