Skip to content

Chatbot developed to answer every day queries, have communication and be a virtual assistant. Developed with MERN, OpenAI API, AWS, Material UI.

Notifications You must be signed in to change notification settings

tahmid-saj/chat-sigma

Repository files navigation


Chatbot developed to answer every day queries, have communication and be a virtual assistant. Developed with MERN, OpenAI API, AWS, Material UI.

image

Figure 1: High level view

The application consists of the following main components:

  1. Client: React frontend web application which initiates requests for the chatbot and exporting chat sessions.
  2. Chat Sigma API: Utilizes the OpenAI API to handle chat requests. Returns a detailed summary for exporting chat sessions.
  3. OpenAI API service: OpenAI service which uses different GPT models and tokens.
  4. Security: AWS security services (AWS Inspector and GuardDuty) which monitors the security of APIs. Later, data and logs from the services are queried and viewed using an external security tool.
  5. Monitoring: Monitoring service which collects data and logs from APIs using CloudWatch, then stores them in S3 to be viewed as a dashboard via an external monitoring tool.
  6. Notifications: Receives various data and logs in S3 buckets and later sends emails (on issues or failures) using SQS and Lambda.

Setting up the development environment:

  1. Cloning the repository: You would first need to clone this repository on the host you want to set up your development environment:
git clone https://github.com/tahmid-saj/chat-sigma.git
  1. Installing dependencies: Install the required NPM packages in package.json:
npm install
  1. Environment variables: The required environment variables are used:
REACT_APP_API_URL_CHAT=<URL of chatbot API>
  1. API: Client requests go to an API that uses the OpenAI API. The API also provides the chat summary exporting feature.
  2. AWS: Setting up the AWS services is an optional step as this is on a development environment. However, the same services could be used to create the tools mentioned in the high level view.
  3. Running the client: The client can be run using:
npm start

About

Chatbot developed to answer every day queries, have communication and be a virtual assistant. Developed with MERN, OpenAI API, AWS, Material UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published