Chatbot Using NLP & Docker :
Development Environment & requirement : Docker Python (nltk, flask,sci-kit-learn, etc) Vs code GitHub (git, GitHub action) AWS
WHAT IS NATURAL LANGUAGE PROCESSING:
Humans communicate with each other using words and text. The way that humans convey information to each other is called Natural Language. Every day humans share a large quality of information with each other in various languages as speech or text. However, computers cannot interpret this data, which is in natural language, as they communicate in 1s and 0s. The data produced is precious and can offer valuable insights. Hence, you need computers to be able to understand, emulate, and respond intelligently to human speech. Natural Language Processing or NLP refers to the branch of AI that gives machines the ability to read, understand, and derive meaning from human languages. Project WorkFlow and Folder structure. In the data folder user adds text files then the Python code reads the data and gets the response. Githube: https://github.com/dassudip2001/devpost-nlp/
Development Using Docker and Docker-compose: Create an ec2 instance in AWS. Then update the instance and install Docker and docker-compose Install git in ec2 and clone repo https://github.com/dassudip2001/devpost-nlp Pwd for checking the current dir or ls for a list of all files Next cd into the folder and docker-compose up
Dockerfile
- FROM python:3.8
- WORKDIR /app
- COPY . .
- RUN pip install -r requirements.txt
- EXPOSE 5000
- CMD ["python","app.py"]
Docker-compose file
- version: "3"
- services:
- app:
- build: .
- ports:
- 80:5000
Or you can use a local machine for development without using docker then follow https://github.com/dassudip2001/devpost-nlp/blob/main/README.md
CI-CD: Also, i am a user of docker and GitHub action for the ci-cd workflow
Using a self-hosted runner in aws ec2 instance anyone add a new text file or update a text file under the data folder to automatically deploy the code
Inspiration
I am inspired to create and learn new technology. also, I am building my career in machine learning.
What it does
give text data and the bot reads the data from the text and gives the user a response.
How we built it
i am used to Python nltk vector collision similarity
Challenges we ran into
I am trying to implement a voice base response and then create an angular front-end
Accomplishments that we're proud of
I think I am learning machine learning basic also i am trying to implement advanced machine learning
What we learned
learn basic machine learning and nlp basic then create an nlp-based chatbot.
What's next for NLP based chat app
implement voice input and voice output
Built With
- amazon-ec2
- amazon-web-services
- docker
- docker-compose
- flask
- git
- github
- githubaction
- https://github.com/dassudip2001/devpost-nlp.git
- python
Log in or sign up for Devpost to join the conversation.