According to TrendForce Monitoring, the Google Gemini App has added the ability to generate files. Users can directly create files in various formats such as TXT, Markdown, PDF, CSV, configuration files, etc., during conversations. Additionally, users can bundle multiple files into a ZIP archive for one-click download. Although Google has not made an official announcement, users discovered this feature through testing and shared it on social media.
From user screenshots, it can be seen that Gemini executes code in the background using a Python sandbox to generate files, with the execution path set to `/home/bard/`. The sandbox has an isolated working directory where files can be preserved and referenced across multiple conversation rounds. Users can instruct Gemini to generate 5 files in one round and then request them to be packaged into a ZIP file in the next round. Gemini is able to recognize and process the files created earlier. Additionally, Gemini supports directly generating Google Docs and Google Sheets, while Slides is not yet available.
Prior to this update, Gemini's code execution feature was limited to running Python scripts in a sandbox and returning text or Matplotlib charts, without the ability to export files. This update allows Gemini to deliver the output of code execution as standalone files to users, filling the gap in file handling capability that Gemini has been lacking compared to Claude.
