1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/OpenAI/UploadFile.txt
Vitaly the Alpaca (bot) 687a2dd281 Main build (Jenkins)
2025-06-08 20:09:09 +03:00

9 lines
355 B
Plaintext
Vendored

URL = "https://api.athenaeum.digital:1122/";
Token = "sk-or-vv-c5884ebe9f13fb143194bb07ecb...";
File = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Path or Binary Data
FileName = "picture4.png";
Destination = "assistants";
Result = OPI_OpenAI.UploadFile(URL, Token, FileName, File, Destination);