Can the antigravity read the pdf’s? if yes how?
As a multimodal, gemini can red .pdf, but why?
I think the agent will have to process the pdf pages as images first, than re-read the text on it, spending much more tokens than reading a simple .md file…
if you need antigravity to read a .pdf file, you can just use some tool to convert .pdf to .md, I do it with software documentation and it works just fine.
It absolutely can read .pdf files, but I advice you to not do it unless it is absolutely necessary or convenient:
- For large text only
.pdffiles you can ask your agent for a script to convert them to.mdfiles. - For image based ones is preferable to extract them from the
.pdf(ask your agent for a script to do it). Remember to scale the images to a size the agent can handle. It had a 4 MiB max size per file last time I checked it. I try them to not be more than 1 MiB in size per file. - For small mixed content or text only
.pdffiles just pass them to the agent.
Depends, which type of pdf ? encrypted ones?
pdfs without any security measures can be read by it but maybe they cant read secured ones by encryption… i never tried to be honest, but I heard that companies are securing their pdfs due to AI.
Good point. I would never pass an encrypted PDF though, that would mean:
- I need to pass the password to the agent.
- I need to pass to the agent an unscripted copy of the file.
Both have issue in corporate environment. For personal stuff I would go with option two.
idk if its ok to say that here, so if it hurst the guidelines, sorry and delete my message pls adm lol, but…
Theres the Docling MCP that just does that. I didn`t compared it, but some clains says it save up to ~90% in context tokens…
Yeah, an MCP sounds good to automate the process.
The one you mention delegates it to a service. I wouldn’t use that though, but that’s just a personal thing.
I’m sure there have to be one that do all the processing locally. You probably can zero-shot one with the /goal command.
in companies that pay for AI subscriptions, this type of behaviour is flagged by IT. (they WILL know)
got curious by it and asked a friend of mine, there were some cases in which people tried to use AI on secured files for summary and they got an earful.
I wouldnt try to use AI on cases like this before asking “if” and “how” I can do it.