Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Chatbot - Simple Chatbot

Chekcout the demo video here

Overview

This Simple Chatbot is a simple chatbot application that provides instant responses based on user inputs. It is built using FastAPI for the backend, with a frontend chat interface. The project is containerized with Docker and deployed via Render.

Features

  • Real-time Chat: Users can send messages and receive AI-generated responses instantly.
  • FastAPI Backend: The application runs on FastAPI for efficient API handling.
  • Docker Support: Fully containerized with Docker for easy deployment.
  • Separate About & Contact Pages: Provides structured navigation for additional information.
  • Deployed on Render: Hosted online for public access.

Deployed Reference


Running the Project

1. Running from DockerHub

To run the project using the pre-built Docker image from Docker Hub, use the following command:

docker run -p 8000:8000 prajwal1717/simple-chatbot
  • The application will be accessible at http://localhost:8000/.
  • Open a browser and navigate to http://localhost:8000 to interact with the chatbot.

2. Deploying Locally

Step 1: Clone the Repository

git clone https://github.com/Praj-17/Simple-Chatbot.git
cd Simple-Chatbot

Step 2: Set Up Virtual Environment (Optional but Recommended)

python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate

Step 3: Install Dependencies

pip install -r requirements.txt

Step 4: Run the Application

uvicorn app.main:app --reload
  • The application will be available at http://127.0.0.1:8000/.

3. Building and Running Docker Locally

If you want to build the Docker image yourself and run it, follow these steps:

Step 1: Build the Docker Image

docker build -t simple-chatbot .

Step 2: Run the Docker Container

docker run -p 8000:8000 simple-chatbot
  • Open a browser and go to http://localhost:8000/ to use the chatbot.

Contributing

If you'd like to contribute, feel free to fork the repository and submit a pull request.


License

This project is open-source and available under the MIT License.


Contact

For any inquiries, reach out to:


Happy Chatting! 🎉

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages