Google Gemini 新增文件 API,支持对话中上传/下载数据
New Files API to move data in and out of your agent environment: - Seed files inline or upload data...
Google Gemini 新增文件 API,方便上传和下载文件,对话中就能操作,比之前更方便。
Google Gemini 推出新文件 API,开发者可通过 `files.upload()` 在对话中上传文件,用 `files.list()` 查看生成文件,还能下载报告或代码库。API 使用 `environment_id` 确保沙盒环境数据持久化。
New Files API to move data in and out of your agent environment: - Seed files inline or upload data...
New Files API to move data in and out of your agent environment: - Seed files inline or upload data mid-conversation with `files.upload()`. - Inspect generated files and directory sizes with `files.list()`. - Download artifacts, dashboards, reports, CSVs, or git repos with `files download()`. - Sandboxes persist across turns via `environment_id` Docs: ai.google.dev/gemini-api/doc… 💬 1 🔄 0 ❤️ 1 👀 343 📊 1 ⚡