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

9 lines
355 B
Plaintext
Raw Normal View History

2025-06-07 18:34:45 +03:00
 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
2025-06-08 20:09:09 +03:00
FileName = "picture4.png";
2025-06-07 18:34:45 +03:00
Destination = "assistants";
Result = OPI_OpenAI.UploadFile(URL, Token, FileName, File, Destination);