Hi, I'm trying to let Google Gemini access a codefile that is too large for ChatGPT4. Gemini has a l

Hi,
I'm trying to let Google Gemini access a codefile that is too large for ChatGPT4. Gemini has a larger context size compared to GPT4. However, I can't upload a text/code file to Gemini. I try to give it links to a publicly available text file so it can read it from there. I tried the following:
  • a link to a text file on our own server
  • a link to a text file on a public Github repo
  • a link to a (publicly available) text file on my Google Drive
But Google Gemini fails to read any of them. It always says that it can't access the file.

Has anyone here achieved to get Google Gemini analyze a text file?

PS: the text file (code file) is too large to copy-paste into the prompt.
Was this page helpful?