JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q30514F
  • License MIT

Handy node cli utility to manage uploads (local,google drive, google cloud storage) and run gemini

Package Exports

  • gupper
  • gupper/gupper.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gupper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Manage Gemini uploads, schemas and prompts

I have thousands of pdf documents to analyze using Gemini – they are currently on Cloud storage. I’ve been playing around with prompts to get the structured output I’m looking for and I quickly found needed a way to easily upload and manage them to Gemini, and repeatedly fiddle around with the schema, prompts and uploaded files directly from my terminal session.

I also found that quite a number of these documents, despite being named differently had the same content so I needed a way of pruning uploaded documents by content to avoid analyzing the same thing multiple times.

Here’s my solution – I’ve found it super useful. Hope you do too.

‘Gupper’ cli can currently upload to Gemini, generate results and write them to these places

  • local files
  • Google Cloud Storage
  • Google Drive

Clone this repo and see this article - https://ramblings.mcpher.com/manage-gemini-uploads-schemas-and-prompts/ for full write up on how and why to use.