Skip to content

App script code to add Gemini model as a custom function to google sheets

License

Notifications You must be signed in to change notification settings

raven-consult/gemini-google-sheets-app-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Gemini Custom Function for Google Sheet

This add a custom function =Gemini("Hello World") to google sheets

Setup

⚠️ Scripts do not protect secret API keys, do not share documents with this script installed

  • Go to Google AI Studio and create an API key Here
  • Open a new document in Google Sheets, click Extensions / Apps Script
  • In the Code.gs, clear the file and paste the code
  • Replace the GEMINI_API_KEY with gemini api key
  • Save the file
  • Then back in your google sheet, test the functionality by typing =Gemini, the autocomplete functionality will guide to the rest

Support

For support and enquiries, contact us at [email protected]

About

App script code to add Gemini model as a custom function to google sheets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published