10000 GitHub - StyNW7/Staychaintion: 1st Winner of CodeFest ICP Hackathon Season 11 โค๏ธโ€๐Ÿ”ฅ
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

StyNW7/Staychaintion

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation


Staychaintion
Staychaintion

An innovative Web3-powered AI platform that redefines short-term property rentals built on top of Internet Computer.

StayChaintion is an innovative Web3-powered AI platform that redefines short-term property rentals through the power of blockchain, decentralization, and artificial intelligence. We offer secure, transparent, and AI-enhanced property management solutions that empower hosts and guests with a frictionless, trustless experience.

๐Ÿ“š Complete Documentation

๐Ÿšฉ Features

  • โœ…Blockchain-Powered Transactions:
    • Ensuring secure, transparent, and tamper-proof rental agreements.
  • โœ…Decentralized Trust System:
    • Utilizing smart contracts to eliminate intermediaries, reducing costs and increasing fairness for both hosts and guests.
  • โœ…AI-Driven Smart Pricing & Insights:
    • Predicting optimal rental prices based on location, room type, and room facility.
    • Get to know StayAI, the Staychaintion Chatbot that will help answer all questions related to Property, Web3, and AI.

You can see the following documentation for Internet Computer online:

๐Ÿ“ฆ Packages

Make sure to have dfx installed, update if needed.

  • DFX Version : 0.19.0

Also, make sure node is installed too.

  • Node Version : 20

For more details, you can check the installation docs here:
https://docs.google.com/document/d/e/2PACX-1vTNicu-xuf4EiLAehHIqgfpjAnPjzqMGT-xpZVvYaAWNyvzYK_Ceve_me4PVRIxpzH7ea5PAX9NxGwY/pub

๐Ÿ“œ Getting Started (WSL)

Finally, to get it running, you can follow these instructions : Go to visual studio code and open a new terminal.

git clone https://github.com/nathanielalex/Staychaintion
cd staychaintion

npm install
dfx start --clean --background
dfx deps pull
dfx deps deploy

dfx canister call Property_seeder run
dfx canister stop Property_seeder
dfx canister call User_seeder run
dfx canister stop User_seeder

npm run setup
npm run start

๐Ÿค– AI Python Setup

Installing Python in Ubuntu

sudo apt update && sudo apt upgrade -y
sudo apt install python3 python3-pip -y
python3 --version   # Check Python version
pip3 --version      # Check Pip version

If the python and pip already installed then we are good to go

Virtual Environment in Ubuntu

cd ./staychaintion/ai-model
pip3 install virtualenv
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip list # to check all installed dependencies

๐Ÿ’ธ AI Prediction Price

Python & Notebook File Location

cd staychaintion/ai-model/predictions/

Created the AI Model
The Model is already created by running the โ€œtrain_model_final.pyโ€
Simply just run that file to get the 3 .pkl file

python train_model_final.py

Run the main_final.py python file
Make sure you are in the same directory as where the main_final.py located

uvicorn main_final:app --host 0.0.0.0 --port 8000 --reload

That command will open the port to run the API and the frontend will fecth the API using Axios to get the response.

๐Ÿ’ธ StayAI Personalized Chatbot

Get the Google API Key

๐Ÿ“ง Contact Information

If any questions occured, or in the need of any discussion or details, please contact us :

About

1st Winner of CodeFest ICP Hackathon Season 11 โค๏ธโ€๐Ÿ”ฅ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.2%
  • Motoko 13.0%
  • Jupyter Notebook 1.8%
  • Python 1.5%
  • CSS 0.4%
  • JavaScript 0.1%
0