Skip to content

Developed a Chatbot using Python that holds conversation about world news with a human user by applying Neural conversional model ( Seq2Seq ), which consists of 2 LSTM RNN model. The news data was collected from Reddit.com (r/worldnews). Libraries such as Torch , NumPy and Matplotlib were used.

Notifications You must be signed in to change notification settings

sadman787/Chatroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Party Text Conferencing Lab

This lab contains two separate programs, one being the client that can connect to a server and send messages to other clients and a server that handles all incoming messages from the clients.

Usage

Server

To run the server, type in the terminal:

server <server_port_number>

Client

To run the client, type in the terminal:

client

The valid usernames and passwords are hardcoded in the server source code.

Available Commands

The commands a user can enter are:

/login <client ID> <password> <server IP> <server port>
/logout
/joinsession <name> <password>
/leavesession
/createsession <name> <password>
/directmessage <user> "message"
/list
/quit
<text> // Sends text to the current session

Extra Features

Direct Messaging

Clients are able to send private messages to other clients whether or not they are inside a chat session for privacy purposes. To send a direct message, type in the terminal:

/directmessage <user> "message"

Session Password Protection

Creating and joining a session requires a password for privacy and security purposes. To create a password-protected session, type in the terminal:

/createsession <name> <password>

Similarly, to join a password-protected session, type in the terminal:

/joinsession <name> <password>

About

Developed a Chatbot using Python that holds conversation about world news with a human user by applying Neural conversional model ( Seq2Seq ), which consists of 2 LSTM RNN model. The news data was collected from Reddit.com (r/worldnews). Libraries such as Torch , NumPy and Matplotlib were used.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published