Welcome to the Interactive Chatbot repository! This project allows you to chat with any website using FastAPI, Next.js, and the latest version of LangChain for seamless integration. Explore how to build an engaging and responsive chatbot that enhances user experience across various platforms.
- Seamless Integration: Easily integrate the chatbot into any website.
- Real-Time Interaction: Enjoy fast responses and smooth conversations.
- Customizable: Tailor the chatbot's behavior to fit your needs.
- Multi-Platform Support: Works well with various web technologies.
- User-Friendly Interface: Designed for easy interaction.
This project utilizes a variety of technologies to deliver a robust chatbot experience:
- FastAPI: A modern web framework for building APIs with Python 3.6+ based on standard Python type hints.
- Next.js: A React framework that enables server-side rendering and static site generation.
- LangChain: A powerful library for building language models that can interact with various data sources.
- OpenAI: Leveraging AI capabilities to enhance chatbot interactions.
- Vercel: A platform for deploying frontend applications seamlessly.
To set up the project on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/remylukunda/Interactive-Chatbot.git cd Interactive-Chatbot
-
Install dependencies:
- For the backend (FastAPI):
cd backend pip install -r requirements.txt
- For the frontend (Next.js):
cd frontend npm install
- For the backend (FastAPI):
-
Run the application:
- Start the FastAPI server:
uvicorn main:app --reload
- Start the Next.js application:
npm run dev
- Start the FastAPI server:
Once the application is running, you can access the chatbot through your web browser. Here’s how to interact with it:
- Open your browser and navigate to
http://localhost:3000
. - Type your message in the chat input box.
- Press Enter or click the send button to initiate the conversation.
The chatbot will respond based on the context of your queries, providing a dynamic and engaging experience.
We welcome contributions from the community! To contribute to the project, please follow these steps:
- Fork the repository: Click the "Fork" button at the top right of the page.
- Create a new branch:
git checkout -b feature/YourFeatureName
- Make your changes: Edit the files as needed.
- Commit your changes:
git commit -m "Add your message here"
- Push to your branch:
git push origin feature/YourFeatureName
- Open a pull request: Go to the original repository and click "New Pull Request".
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or suggestions, please reach out to the project maintainer:
- Remy Lukunda
- GitHub Profile
Feel free to check the Releases section for the latest updates and downloadable files. You can find all the necessary files that need to be downloaded and executed there.
Thank you for exploring the Interactive Chatbot! We hope you find it useful for your projects.