1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-06-12 20:04:01 +03:00
parent 4fe4b07e37
commit a38a439d3d
97 changed files with 16318 additions and 11133 deletions

View File

@@ -12,7 +12,7 @@ import TabItem from '@theme/TabItem';
`Function GetImageDescriptionStructure(Val Prompt, Val Count, Val Background = "auto", Val Size = "auto", Val AdditionalParameters = "") Export`
`Function GetImageDescriptionStructure(Val Prompt, Val Count, Val Background = "", Val Size = "", Val AdditionalParameters = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|

View File

@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://api.athenaeum.digital:1122/";
Token = "sk-or-vv-c5884ebe9f13fb143194bb07ecb...";
Image = "file-10";
Image = "file-3";
Result = OPI_OpenAI.GetImageMessageStructure("user", Image, "What is in this image?");
```

View File

@@ -35,11 +35,11 @@ Method at API documentation: [Create image](https://platform.openai.com/docs/api
```bsl title="1C:Enterprise/OneScript code example"
URL = "https://api.vsegpt.ru/";
Token = "sk-or-vv-c5884ebe9f13fb143194bb07ecb...";
URL = "https://bothub.chat/api/v2/openai/";
Token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjUzYTUwNWFiLTdhYmEtNDkyNy05YmQ0LTZlNDFlZGEyZGRmYyIsImlzRGV2Z...";
Model = "img2img-google/flash-edit";
Description = OPI_OpenAI.GetImageDescriptionStructure("Yellow alpaca", 2);
Model = "dall-e-3";
Description = OPI_OpenAI.GetImageDescriptionStructure("Yellow alpaca", 1, , "1024x1024");
Result = OPI_OpenAI.GetImages(URL, Token, Model, Description);
```