An Ecosystem for Automate Groceries with Artificial Intelligence.
Report Bug
·
Request Feature
Food Array is an ecosystem of three subprojects that work together to automate the process of suggest groceries list to the users. The three sub-projects are:
| Engine | Version | Description |
|---|---|---|
| Food Array API (agent-rest) | TDB | REST API as Interface for clients. |
| Food Array Agent (agent-engine) | 1.0.0-beta | Intelligent Agents System to run every day. |
| Food Array Web (agent-web) | TDB | Single Page Web Application. |
In a world where artificial intelligence takes significant roles in the daily life of the human being, it has collaborated in increasing the efficiency and effectiveness with which we do our day to day, whether in the purchase of products online, the music we listen to and even drive a car automatically. That is why it is important to take a step further by involving artificial intelligence in the home, such as pantry management, perhaps one of the most complicated issues in homes. According to UNEP (United Nations Environment Programs) in 2021 food waste was recorded at 17% of global production (UNEP 2021 p. 20) divided between the foodservice industry, retail and the home, the latter contributing 61% (UNEP 2021 p. 8) of that waste, a fairly high amount.
Much of that waste in the home is due to inefficient ways of managing our pantries, either by over-buying or panic buying which ultimately leads to contributing to the problem, either by ending up discarding surplus or certain foods reach their expiration point; Food Array is a project with a REST API / Web service based on Intelligent Agents in order to work with the minimum of data collected by the application itself, since in the absence of a database these must be collected with the intention of suggesting shopping lists so that these are optimal, that is, the difference between a previously purchased product and the one that is intended to be purchased in the current list is always 0 or close to this value so that a reduction of waste can be inferred as a consequence of a constant movement of the household inventory and not allowing the accumulation of products.
The creation of a REST API / Web service that helps to suggest optimized shopping lists for the decrease of surplus products through Intelligent Agents that use the purchase history to make an assessment and generate the optimal purchase suggestion.
- Create a database with information that can be used in the future to create predictive models for the generation of grocery shopping list suggestions.
- Reduce as much as possible the excess purchases that could be made by taking into account the user's purchase history, allowing the Intelligent Agent to reason to avoid wasting products by over-purchasing.
- Obtain metrics to measure waste due to not having a good organization when buying groceries, these metrics will be captured at all times by the intelligent agent and stored in a database.
- Node.js - Main Server Framework
- Typescript - Main Language
- Inversify - Used for dependency Injection
- Reflect Metadata - Used to get code metadata.
- Jest - Used for testing
- MongoDB - Used for database
Important: This project is still in development, so it is not recommended to use it in production environments, also the next version are required in order to
run the project. NodeJS >= 14.0.0, Typescript >= 4.0.0 and MongoDB >= 4.0.0.
- Clone the repo
git clone <repo-url> - Run Docker Compose
docker-compose up -d- Go to
agent-enginefolder - Install NPM packages
npm install In progress
In progress
- Go to
agent-enginefolder - Initialize Swarm Agent
npm run swarm:init - Initialize Sku Collections
npm run populate:sku- Initialize Testing Events
npm run populate:eventsIn progress
In progress
- Go to
agent-enginefolder - Initialize Swarm Agent
npm testIn progress
In progress
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Diego Resendez - Developer / Author - zerooneit
- John Arboleda - Developer / Author - JohnInvent
See also the list of contributors who participated in this project.
Please read CODE_OF_CONDUCT.md for details on our code of conduct, and the process for submitting pull requests to us.
- Environment, U. N. (2021). UNEP Food Waste Index Report 2021 (p. 8, 20). https://www.unep.org/resources/report/unep-food-waste-index-report-2021
- Swanson, E., Barnes, M., Fall, A. M., & Roberts, G. (2017). Predictors of Reading Comprehension Among Struggling Readers Who Exhibit Differing Levels of Inattention and Hyperactivity. Reading & Writing Quarterly, 34(2), 132-146. doi:10.1080/10573569.2017.1359712.
- Mwangi, R. W., & Kamau, A. M. (2016, November). A MODEL BASED REFLEX AGENT FOR SMART FARMING IN FERTILIZER APPLICATION TO MAIZE CROP IN KENYA. In Scientific Conference Proceedings.
- Castillo-Vergara, M., Alvarez-Marin, A., & Cabana-Villca, R. (2014). Design thinking: cómo guiar a estudiantes, emprendedores y empresarios en su aplicación. Ingeniería Industrial, 35(3), 301-311.
- Rudoff, H. (s/f). Reducir el desperdicio de alimentos: Lo que usted puede hacer en su casa. City of Philadelphia. Recuperado el 18 de julio de 2022, de https://www.phila.gov/2022-07-11-spanish-eat-away-at-food-waste-at-home/
- ONU, N. (16 de Octubre de 2018). https://news.un.org/es/story/2018/10/1443382. Obtenido de https://news.un.org/es/story/2018/10/1443382
- Hicks, J.R., “Valor y Capital”, pág.205, Fondo de Cultura Económica, México DF,1945.
- de Campos, G. A., Freire, E. S., & Cortés, M. I. (2012). Norm-based behavior modification in reflex agents. In Proceedings on the International Conference on Artificial Intelligence (ICAI) (p. 1). The Steering Committee of The World Congress in Computer Science, Computer Engineering and Applied Computing (WorldComp).
- Du, H., & Huhns, M. N. (2011). A multiagent system approach to grocery shopping. En Advances in Intelligent and Soft Computing (pp. 195–200). Springer Berlin Heidelberg.
- Joo, K. H., Kinoshita, T., & Shiratori, N. (2000). Design and implementation of an agent-based grocery shopping system. IEICE transactions on information and systems, E83-D(11), 1940–1951. https://search.ieice.org/bin/summary.php?id=e83-d_11_1940
- Joo, K. H., Kinoshita, T., & Shiratori, N. (2001). On a decision-making mechanism of an intelligent shopping agent. Interdisciplinary Information Sciences, 7(2), 167–177. https://doi.org/10.4036/iis.2001.167