Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 1.05 KB

README.md

File metadata and controls

62 lines (48 loc) · 1.05 KB

Chatbot-api

This is project using flask to build a chat bot api. Allow user request include a question, then

system wil resonse inlude a answer if have.

Issue

  • Current i having problems deploy it pulic. I will deploy it as as soon as possible

Enpoint

- POST: /api/v1/question 
- Post data:
  - input: include question.
  - question: question wait for answer.
  • Example
{
    "input":{
      "question": "Ai là người giàu nhất Việt Nam"
    }
}
  • Example response:
{
    "data":{
      "answer": "Tỉ phú Phạm Nhật Vượng"
    }
    "error_code": 0,
    "error_message": "Success."
}

Demo

chat-bot-api-demo.mp4

Features

  • Tells the current time and/or date
  • Tells the weather
  • Tells the daily news
  • Answer basic questions about knowledge
  • Do basic calculations
  • Tells food info

How to install

Install all package

$ pip install -r requirement.txt

How to run

$ python run.py