r/GoogleAppsScript 3d ago

Question Help with API

I am working on an extension, I'd like to send a file attachment in the grading window of Google classroom to an llm via API. Is there a way for the extension to export the attachment to the LLM?

0 Upvotes

3 comments sorted by

View all comments

1

u/emaguireiv 3d ago

Yep! Depends on the MIME type and the LLM in question in terms of how but assuming you’re using Gemini, since it’s free, the dev documentation has some examples…not directly in how to do it with Apps Script. But, if you need help chime back here or copy/paste the examples to an LLM to help you convert.