Skip to content

Natural Language to Structured Query Language (NL2SQL) REST API

License

Notifications You must be signed in to change notification settings

adikurniawanid/express-unsribot-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Natural Language to Structured Query Language

NL2SQL untuk Chatbot dengan Semantic Parsing Menggunakan Metode Berbasis Aturan adalah sistem yang digunakan untuk membantu pengguna dalam mengakses informasi pada basis data Sistem Informasi Akademik dengan masukan sistem berupa bahasa alami berupa kalimat perintah atau tanya melalui antarmuka chatbot dengan pendekatan semantic parsing menggunakan metode berbasis aturan, dan menghasilkan keluaran berupa Structured Query Language (SQL) beserta data hasil query basis data.

cover manual book

Run Locally

Clone the project

  git clone https://github.com/adikurniawanid/express-unsribot-api.git

Go to the project directory

  cd express-unsribot-api

Install dependencies

  npm install

Create the database

  sequelize db:create

Migration the database

  sequelize db:migrate

Start the server

  npm start

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PORT

DEV_DB_USERNAME DEV_DB_PASSWORD DEV_DB_NAME DEV_DB_HOST

TEST_DB_USERNAME TEST_DB_PASSWORD TEST_DB_NAME TEST_DB_HOST

DATABASE_URL

TELEGRAM_BOT_TOKEN TELEGRAM_BOT_MANUALBOOK_FILE_ID API_URL

Documentation

Run in Postman

Tech Stack

NodeJS, ExpressJS, MySQL