Chatbot developed to answer every day queries, have communication and be a virtual assistant. Developed with MERN, OpenAI API, AWS, Material UI.
- Client: React frontend web application which initiates requests for the chatbot and exporting chat sessions.
- Chat Sigma API: Utilizes the OpenAI API to handle chat requests. Returns a detailed summary for exporting chat sessions.
- OpenAI API service: OpenAI service which uses different GPT models and tokens.
- 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.
- 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.
- Notifications: Receives various data and logs in S3 buckets and later sends emails (on issues or failures) using SQS and Lambda.
- 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
- Installing dependencies: Install the required NPM packages in package.json:
npm install
- Environment variables: The required environment variables are used:
REACT_APP_API_URL_CHAT=<URL of chatbot API>
- API: Client requests go to an API that uses the OpenAI API. The API also provides the chat summary exporting feature.
- 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.
- Running the client: The client can be run using:
npm start