Leoglme / nlp_travel_order_resolver

A tool using Natural Language Processing (NLP) to extract travel details from French text inputs, identifying departure and destination points. It includes optional voice recognition and an algorithm for finding optimal travel routes.
0 stars 0 forks source link

Travel Order Resolver

A tool using Natural Language Processing (NLP) to extract travel details from French text inputs, identifying departure and destination points. It includes optional voice recognition and an algorithm for finding optimal travel routes.

đź›  Tech Stack





đź“š WebSite





⚙️ Setup Environment Development

Installation de Git LFS

Windows

  1. Téléchargez et installez Git LFS depuis Git LFS Releases.
  2. Suivez les instructions de l'installateur.
  3. Une fois l'installation terminée, ouvrez une invite de commande et exécutez :
    git lfs install

macOS

  1. Installez Git LFS en utilisant Homebrew :
    brew install git-lfs
  2. Après l'installation, exécutez :
    git lfs install

Linux

  1. Installez Git LFS en utilisant le gestionnaire de paquets de votre distribution.
    Ubuntu / Debian :
    sudo apt-get install git-lfs
  2. Après l'installation, exécutez :
    git lfs install


Clonage du DĂ©pĂ´t

Clonez le dépôt :

git clone git@github.com:Leoglme/nlp_travel_order_resolver.git
cd nlp_travel_order_resolver


Configuration du Token d'Accès pour les fichiers LFS

Configurez le token d'accès LFS avec votre jeton personnel, pour pouvoir fetch les fichiers LFS :

cd nlp_travel_order_resolver
git config lfs.https://gitea.crzcommon.com/crzgames/nlp_travel_order_resolver.git/info/lfs.access token dd39e40af8323acc9aa3ee4fb6cee08fc75d497b


Identification lors du clone du projet pour s'identifier au près de gitea.crzcommon.com

Username: crzgames
Password: Marylene59!!!!


Install dependencies

  1. Python >= 3.12 (LTS latest) : https://www.python.org/downloads/
  2. Setup Tensorflow in CPU / GPU : https://www.tensorflow.org/install/pip?hl=fr#windows-wsl2
  3. Install dependencies :
    pip install -r requirements.txt





🔄 Cycle Development

  1. Run project :
    py main.py
  2. If there is a problem because of dependencies :
    remove all packages: cat requirements.txt | xargs -n 1 pip uninstall -y
    remove all packages in machine: pip freeze > requirements.txt && pip uninstall -y -r requirements.txt && rm requirements.txt
    pip list





🚀 Production

⚙️➡️ Automatic Distribution Process (CI / CD)

Si c'est un nouveau projet suivez les instructions :

  1. Ajoutez les SECRETS_GITHUB pour :
    • KUBECONFIG
    • PAT (crĂ©e un nouveau token si besoin sur le site de GitHub puis dans le menu du "Profil" -> "Settings" -> "Developper Settings" -> "Personal Access Tokens" -> Tokens (classic))