LINE-Chatbot-x-Gemini-API
LINE-Chatbot-x-Gemini-API copied to clipboard
A repo of building Gen AI Chatbot with Gemini by using LINE Messaging API and Cloud Functions for Firebase 2nd Gen
LINE Chatbot x Gemini API
A repo of building Gen AI Chatbot with Gemini by using LINE Messaging API and Cloud Functions for Firebase 2nd Gen
Prerequisites
- Node.js v18 or higher
- Create a channel and copy the channel access token from LINE Developers console
- Create a Firebase project using the Firebase Console and select Blaze plan
- Create an API key from Google AI Studio
Cloud Functions for Firebase
- Copy credentials and set them in Environment variable (.env)
CHANNEL_ACCESS_TOKEN=CHANNEL-ACCESS-TOKEN-OF-LINE-MESSAGING-API
API_KEY=API-KEY-FROM-GOOGLE-AI-STUDIO