- Python 3
- FastAPI
- LINE Messaging API
- Google Generative AI
- Aiohttp
- PIL (Python Imaging Library)
- Clone the repository to your local machine.
- Set the following environment variables:
ChannelSecret
: Your LINE channel secret.ChannelAccessToken
: Your LINE channel access token.GEMINI_API_KEY
: Your Gemini API key for AI processing.
- Install the required dependencies by running
pip install -r requirements.txt
. - Start the FastAPI server with
uvicorn main:app --reload
.
To use the Receipt Helper, send a picture of your receipt to the LINE bot. The bot will process the image, extract the data, and provide a JSON representation of the receipt. For text-based commands or queries, simply send the command or query as a message to the bot.
!清空
: Clears all the scanned receipt history for the user.
If you'd like to contribute to this project, please feel free to submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.