Bot Capitalist

Bot Capitalist

Last time updated 1st/02 2021

The capitalist pig is a bot to record your expenses and income.

This project began with the idea of avoiding ant expenses when making transactions with cash, but with time it has evolved now the bot works even in voice assistants and makes automated balances.In this article I will briefly discuss how I made the bot and what technology I used, but you can see more content about the purpose and prices at cerditocapitalista.com The pig internally is composed of many technologies to solve the issue of the immediate response to messages and reduce costs in the free service, I use a Serverless architecture although I usually program with lambda functions in AWS this time I preferred to use Google technologies, specifically the cloud functions from firebase plus I also use their Firestore database to store logs and all the important things that are needed to build an application.

various displays of capitalist pig design

The pig can "remember" the flow of the operations that you order, this can be achieved thanks to a simple storage of the session for each message sent by the user, in telegram for example the bot already have commands but in other platforms such as google assistant should naturally understand the words or the commands that you want to give the bot. Inside the bot there are several methods to understand the messages in the case of telegram I use regular expressions but for voice assistants I use tensorflow.

cerdito capitalista content 02

What are the next goals and updates?

  • The next updates related to the development of the project will add improvements to the language interpreter.
  • Add support for different languages coming soon English, Russian and Portuguese.
  • Create a web application where you can see all the history of expenses and income. In this platform all the services of the pig will be centralized.