Skip to content

kkdai/linebot-cf-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINE Bot with Firebase and Generative AI

This project is a LINE bot implemented in Go, using Firebase as a database and Google's Generative AI for text and image processing.

Features

  • Text processing: The bot can receive text messages, process them using Google's Generative AI, and respond with generated text.
  • Image processing: The bot can receive image messages, process them using Google's Generative AI, and respond with a description of the image.
  • Firebase integration: The bot uses Firebase as a database to store the conversation history.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Go
  • Firebase account
  • LINE Messaging API account
  • Google Generative AI account

Installing

  • Clone the repository
  • Install the dependencies with go get
  • Set up your Firebase and LINE Messaging API credentials in your environment variables
  • Run the bot with go run function.go

Usage

The bot can be added to a LINE chat. It will respond to text and image messages with generated content.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

LINE Messaging API Google Generative AI Firebase

Releases

No releases published

Packages

 
 
 

Languages