가입 후 초대 링크를 공유하면 동영상 재생 및 초대 보상을 받을 수 있습니다.

cv usk
@cv_usk
AI / Software Research Notes AI Agent, LLMOps, MLOps, Software Architecture 投稿は個人の意見です。
가입 May 2026
258 팔로잉 중    220
A useful but little-known Gemini API feature 📁 Uploading the same file every time? Upload once, reuse across requests. Gemini's Files API lets you upload files and reference them across multiple requests. No more re-attaching the same file over and over. 📌 Title: Files API 🔗 URL: 🧩 Overview For large files or files used repeatedly, embedding them inline in every request is wasteful. The Files API uploads a file to Google and returns a URI you can reference in subsequent requests. Supports images, video, PDFs, audio, and more. Uploaded files persist server-side, eliminating redundant transfers. 🛠 How to use it Upload via the media.upload endpoint. Use the returned file URI in the fileData section of your generateContent requests. You can also list and delete uploaded files. Files have an expiration and are auto-deleted after it passes. 🏗 Building it into production ・Multimodal analysis: upload a large video or audio file once, then run "summarize," "translate," and "explain this part" as separate analyses. ・Document review: upload the PDF under review and check it from multiple angles (quality, accuracy, style) sequentially. ・Educational content: upload course materials once and let different students ask different questions referencing the same files. ・Image catalog processing: upload product images and run description generation, tagging, and quality checks in sequence. 💡 Use cases 🎬 Multi-angle analysis of large video/audio files 📄 Multi-perspective document reviews 🎓 Individual Q&A against shared teaching materials 🛒 Batch multi-purpose processing of product images ⚠️ Watch out Uploaded files expire (typically 48 hours) and are auto-deleted. For long-term use, manage files in your own storage and re-upload as needed. Total storage capacity also has limits, so clean up unused files regularly. ✨ The "upload then reference" pattern alone makes multimodal workflows dramatically smoother. Try it with a large PDF or video first. #Gemini# #LLM#
더 보기