Coder Social home page Coder Social logo

xuanhien304 / vietnamese-medical-chatbot-based Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 661 KB

A simple Vietnamese Medical Chatbot Based

Dockerfile 1.05% Python 45.64% CSS 33.21% HTML 20.10%
chatbot docker flask-api information-retrieval phobert pytorch

vietnamese-medical-chatbot-based's Introduction

Vietnamese Medical Chatbot Based

Overview

The Vietnamese Medical Chatbot is a simple yet powerful chatbot designed to assist users with medical-related queries in the Vietnamese language. It leverages natural language processing (NLP) techniques, including Intent Classification, Information Retrieval, and ChatGPT, to respond intelligently to user inquiries. It is just a baic idea that you can develop and deploy the chatbot with other advanced techniques.

Features

  • Intent Classification: The chatbot can understand the intent behind user messages, allowing it to provide relevant information or responses.

  • Information Retrieval: It can retrieve medical information from a knowledge base to answer common medical questions.

  • ChatGPT Integration: For more complex or open-ended questions, the chatbot can engage in a natural language conversation with users using ChatGPT.

Getting Started

Prerequisites

Installation

Create virtual environment with conda

conda create -n medbot python=3.9
conda activate medbot

Install dependencies:

pip install -r requirements.txt

Dataset

For Dataset, you can collect and label as json file similar to /data, for retrieving the answer, the database was created using Pyserini and sentence-transformers

API

Run app Flask

python app.py

The chatbot will be accessible at http://localhost:5000.

You can choose the mode as your desire.

Docker

Build and Run

docker build -t medbot:v1 .
docker run -it -p 5000:5000 medbot:v1

vietnamese-medical-chatbot-based's People

Contributors

xuanhien304 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

batuhanson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.