This project is a web-based AI chatbot designed to help users resolve their queries and problems related to Facebook. The chatbot interacts with users via a user-friendly interface, providing support and answers to various questions about Facebook.
- User-Friendly Interface: The chatbot interface is designed to be intuitive and easy to use.
- AI-Powered Responses: The chatbot leverages AI to understand user queries and provide relevant answers.
- File Attachments: Users can upload images or text files, and the chatbot can process these attachments.
- Custom Welcome Message: The chatbot greets users with a custom message to inform them about its purpose.
- TypeScript: For type-safe and scalable JavaScript development.
- Next.js: A React framework for building server-side rendered applications.
- Framer Motion: For smooth animations and transitions.
- Sonner: For toast notifications.
- Vercel AI SDK: For integrating AI capabilities into the chatbot.
- Markdown: For rendering formatted text in the chat.
- Node.js (version 16 or higher)
- npm or yarn (for package management)
-
Clone the Repository:
git clone https://github.com/your-username/facebook-support-chatbot.git
-
Navigate to the Project Directory:
cd facebook-support-chatbot -
Install Dependencies:
Using npm:
npm install
Or using yarn:
yarn install
To run the application in development mode:
npm run devOr with yarn:
yarn devThe application should now be running on http://localhost:3000.
To create a production build:
npm run buildOr with yarn:
yarn buildYou can deploy this project to any hosting platform that supports Node.js applications. For seamless deployment, consider using Vercel.
Contributions are welcome! Please fork this repository and submit a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for providing the AI model used for generating responses.
- Vercel for hosting and providing an easy-to-use platform for deploying Next.js applications.
- Framer Motion for enabling smooth animations.
- Sonner for simple and effective toast notifications.