Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Food wine pairing build issue resolved (#403)
* Added the print statement to check the execution flow. * Changes for Food and Wine Pairing Module * New Python Project for Food Wine Pairing - AI/ML Added a service for Food Wine pairing. Calling service from InventoryServiceOrderEventConsumer. Service finds the suitable wines for the Food item and send the recommendedWines to user. * Added sk-learn library and changed python to 3.7 * Given permission to sh files before commiting and deleted unnecessary files. * added sh files of 777 permissions from Paul. * install python 3.7 - Docker file updated * install python using apt * removed rm yum * Added RUN each line to know the exact line errors * removed sudo in Docker file and added apt-get update * changed python3.7 to python. * changed python version to initial one 3.6 * removed python-oci-sdk * updated with python 3.7 workaround * removed FROM oraclelinux:7-slim, added FROM ubuntu:18.04, to resolve apt issue * set python 3.7 as defaukt * fetched the latest code and updated foodwinepairing deployment yaml file * returned no wines suggested * initialized client with client builder * added kubectl apply in deploy.sh * changed hostname to localhost * reverted url. * cleared DB related stuffs in deployment yaml file * cleared non-required configs from deployment yaml file * added cx_oracle * imported WineFoodPairings file in app.py * added install pandas and numpy * added nltk * added matplotlib * added ipython * Assigned input to test food * Fixed the issues which were there in 1st working version * Added foodwinepairing-python in undeploy.sh * Added the config for calling foodwinepairing service * Added isSuggestiveSaleAIEnabled config in inventory-helidon deployment yaml * corrected indentation of isSuggestiveSaleAIEnabled value * added the same content from main branch to resolve conflicts * added foodwinepairing-python * removed foodwinepairing-python * Added foodwinepairing-python after resolving conflict * removed the sysout statements * removed foodwinepairing-python from grabdish/deploy.sh * Stopwords and Tokenizers config kept only for English. Removed for other languages. * Revert "Stopwords and Tokenizers config kept only for English. Removed for other languages." This reverts commit 4b203c1. * Removed the non-english stopwords and tokenizers which are used during model creation * Optimized the food wine pairing build. Using the oraclelinux:7-slim, python 3.6 Removed redundant software installtion like numpy(comes in gensim only) * created the folder and file for workshop * updated gensim version to 4.1.2 Co-authored-by: prhirema <prhirema@PRHIREMA-IN.oradev.oraclecorp.com>
- Loading branch information