I’m having issues uploading files to Gemini Files through its API.
First I thought it was a problem of self-hosted n8n using always base64 format, but I converted the file to binary with an Aggregate node and still wouldn’t work.
I read this is solved by setting the env N8N_DEFAULT_BINARY_DATA_MODE to filesystem but in queue mode this is not possible. Jan said (I spent some time trying to retrieve the post) in the future Memory mode will be deprecated, and only filesystem will be permitted, I don’t know how they will handle this in queue mode.
I’m debugging by simply using curl and also get some issues there, so it might be something else. It’s strange because the getURL HTTP Request node works, but the actual upload doesn’t. When it seems it should work, it simply idles loading until I stop it.
I might make some community nodes for Google Gemini, this model is barely supported in n8n.
Hello, I have a template that no need for embedding, no need to set up reranking, and no need to connect to a vector database.
It automatically downloads specified files from Google Drive as a knowledge base to answer questions. Files (txt, complex PDFs, images, or any format) can be used directly as the knowledge base.