Artificial Intelligence/Open Products Facts

From Open Food Facts wiki
Revision as of 08:37, 6 September 2024 by Teolemon (talk | contribs)
Jump to navigation Jump to search

✅ Tasks

  • Plug OPF Redis to Robotoff
  • Retrain category model (use the name-based simplistic model temporarily ?)
  • Adapt Hunger Games logo dashboard to be generic (based on existing labels logos)
  • Ensure Robotoff can use OPF specific categories
  • Classifier for product type (food, petfood, cosmetic, other)

GitHub


Using GenAI to generate service provider descriptions

Generate a config file/ontology to describe all the circular services that help through the life cycle of any product. Topics of services might include Spare parts, donation, reparation,  Resale,  environmental scoring methodology algorithm (please include a way to call the algorithm from an external file), purchase decision, P2P lending… You should take into account the fact that all those services are not available in all countries, that all services are not available for all product categories. Each of those services might have a website or an app or an API, or all three of them (do include example of urls).  You can take a few concrete examples to make it more Concrete, using textile and electronics as sample categories.  Please include the name of those circular services.




services:
   - name: Spare parts
       available_countries: [USA, Germany, France]
       available_categories: [Textile, Electronics]
       website: https://www.spareparts.com


   - name: Donation
       available_countries: [USA, Canada, UK]
       available_categories: [Textile, Electronics]
       website: https://www.donationhub.com


   - name: Reparation
       available_countries: [USA, Spain, Australia]
       available_categories: [Electronics]
       website: https://www.repairnow.com


   - name: Resale
       available_countries: [USA, UK, Japan]
       available_categories: [Textile, Electronics]
       website: https://www.resalemarketplace.com


   - name: Environmental scoring methodology algorithm
       available_countries: [USA, Germany, Canada]
       available_categories: [Textile, Electronics]
       algorithm_file: scoring_algorithm.py


   - name: Purchase decision
       available_countries: [USA, France, Australia]
       available_categories: [Textile, Electronics]
       website: https://www.purchaseadvisor.com


   - name: P2P lending
       available_countries: [USA, UK, Japan]
       available_categories: [Textile, Electronics]
       website: https://www.p2plendingplatform.com

Generate a config file/ontology to describe all the circular services that help through the life cycle of any product. Topics of services might include Spare parts, donation, reparation,  Resale,  purchase decision, P2P lending… You should take into account the fact that all those services are not available in all countries, that all services are not available for all product categories. Each of those services might have a website or an app or an API, or all three of them (do include example of urls).  You can take a few concrete examples to make it more Concrete, using textile and electronics as sample categories. 




categories:
   - name: Textile
       services:
           - name: Spare Parts
               available_countries:
                   - USA
                   - Germany
               websites:
                   - url: https://www.textilespareparts.com
                       type: website
                   - url: https://api.textilespareparts.com
                       type: api
           - name: Donation
               available_countries:
                   - USA
                   - UK
               websites:
                   - url: https://www.textiledonation.org
                       type: website
                   - url: https://api.textiledonation.org
                       type: api
           - name: Reparation
               available_countries:
                   - USA
                   - France
               websites:
                   - url: https://www.textilereparation.com
                       type: website
                   - url: https://api.textilereparation.com
                       type: api


   - name: Electronics
       services:
           - name: Spare Parts
               available_countries:
                   - USA
                   - Japan
               websites:
                   - url: https://www.electronicsspareparts.com
                       type: website
                   - url: https://api.electronicsspareparts.com
                       type: api
           - name: Resale
               available_countries:
                   - USA
                   - Canada
               websites:
                   - url: https://www.electronicsresale.com
                       type: website
                   - url: https://api.electronicsresale.com
                       type: api
           - name: Purchase Decision
               available_countries:
                   - USA
                   - UK
               websites:
                   - url: https://www.electronicsdecision.com
                       type: website
                   - url: https://api.electronicsdecision.com
                       type: api