Skip to content

nvkha/chatbot-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published