This project implements an AI-powered chatbot sidebar within Google Sheets, allowing users to interact with various AI models directly alongside their spreadsheet environment. The chatbot provides a convenient way to access AI capabilities while working in Google Sheets, though it does not directly manipulate spreadsheet data.
Go to File > Make a copy.
sidebar.html
: Paste the provided HTML code.Code.gs
: Paste the provided script.Continue to the next step to set up your API key.
To use the AI Chatbot, you need to set up your API key. Here’s how to do it for OpenAI:
Note: If you plan to use other AI providers, you will need to follow similar steps to obtain and set their API keys. Each provider will have its own process for generating API keys, usually found in their account or developer settings.
Continue to the next step to start using the AI Chatbot!
Congratulations on successfully running the AI Chatbot! Enjoy exploring its capabilities!
API Key Protection: Your API keys are stored in the script's properties and are not visible in the sheet itself. However, anyone with edit access to the sheet can potentially access these keys through the Apps Script project.
Data Privacy: Be cautious about sharing sheets containing sensitive conversations or data. Remember that exported chats and logs are visible to anyone with access to the sheet.
Usage Limits: Be aware of the usage limits and costs associated with each AI provider. This script does not implement rate limiting or usage tracking.
Content Filtering: This chatbot does not implement content filtering. Be mindful of the inputs provided and the potential outputs from the AI models.
If you encounter issues:
This project is open for contributions. Feel free to fork the repository, make improvements, and submit pull requests.
This project is not officially associated with or endorsed by any of the AI providers mentioned. Use it at your own risk and in compliance with each provider's terms of service.