Eduardo Ruesta
08/06/2025, 6:38 PMVadim Briliantov
08/06/2025, 6:45 PMEduardo Ruesta
08/06/2025, 6:54 PMattachments {
attachment(
Attachment.File(
content = AttachmentContent.Binary.Bytes(readPdfAsBytes("/Users/eduardoruesta/Workplace/SafePal/uso_pantalla.pdf")),
format = "pdf",
mimeType = "application/pdf",
)
)
attachment(
Attachment.File(
content = AttachmentContent.Binary.Bytes(readPdfAsBytes("/Users/eduardoruesta/Workplace/SafePal/bebes_ninos_pantalla.pdf")),
format = "pdf",
mimeType = "application/pdf",
)
)
}
Eduardo Ruesta
08/06/2025, 7:09 PMVadim Briliantov
08/06/2025, 7:54 PMval MyGPT4o = with(OpenAIModels.Chat.GPT4o) {
copy(capabilities = capabilities + LLMCapability.Document)
}
as was described above in the thread?Eduardo Ruesta
08/06/2025, 9:11 PMEduardo Ruesta
08/06/2025, 9:12 PMEduardo Ruesta
08/06/2025, 10:21 PMPavel Gorgulov
08/08/2025, 9:53 AMit says I need to upload the files to OpenAI firstIt’s expected to work like that, but OpenAI allowed sending files directly, and
file_id
is optional field
I’ll look into what the issue isPavel Gorgulov
08/08/2025, 11:00 AMEduardo Ruesta
08/08/2025, 11:58 AMPavel Gorgulov
08/08/2025, 12:07 PMEduardo Ruesta
08/08/2025, 12:15 PM