This is a web application that uses React on the frontend, Express for the backend, and Redux for state management. The application also integrates OpenAI's GPT-3.5 Turbo model for chatbot functionality.
- Clone this repository to your local machine.
- Use the "client-react" folder ('client-vite folder has some errors that will be fixed')
- Navigate to the root directory of the project and run npm install to install the dependencies for the backend.
- Navigate to the client directory and run npm install to install the dependencies for the frontend.
-
Navigate to the root directory of the project and run npm start to start the frontend and npm run dev to start the backend servers concurrently.
-
To use the real-time chat functionality, create an account by clicking on the "Sign Up" button and filling out the registration form.
-
Once you have registered, log in to the application by clicking on the "Log In" button and entering your credentials.
-
Create a .env file and enter your 'OPENAI_API_KEY', 'PROJECT_ID', 'BOT_USER_NAME', 'BOT_USER_SECRET', 'PRIVATE_ID'.
-
Visit http://localhost:3000 to access the web application.
-
After accessing the web application click on the '+' icon on the top left and name the chat :
- AiChat_ - to have a chat with the AI
- AiCode_ - to get only coding problems solved
- AiAssist_ - to let the AI complete your sentences
-
And make sure to add the bot in every chat you create by clicking on 'Members' on the right side.
If you would like to contribute to this project, please fork the repository and submit a pull request with your changes. Be sure to follow the code of conduct and contribute in a respectful manner.
Contact If you have any questions or concerns about the project, please contact me at [email protected] or https://dpnkr.tech.