Skip to content

Xensen008/Pychat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personality-Based Chatbot

Welcome to the Personality-Based Chatbot repository! This project utilizes Google's Generative AI to create an engaging and versatile chatbot capable of assisting with a wide range of queries in a conversational manner. Built with Gradio, it features an intuitive web interface, making it accessible to users without any programming background.

Features

  • Conversational AI: Engage in meaningful, dynamic conversations across various topics.
  • Reset Conversation: Effortlessly reset the conversation to start anew at any point.
  • Gradio Web Interface: Experience a user-friendly web interface for seamless interaction with the chatbot.
  • Customizable Responses: Enhance and tailor the chatbot's responses over time.

How to Use

Prerequisites

  • Python 3.6+
  • Pip for installing dependencies

Setup

  1. Clone the Repository

    git clone https://github.com/xensen008/Pychat.git
    cd Pychat
  2. Install Dependencies

    pip install -r requirements.txt
  3. Set Up Environment Variables

    Create a .env file in the root directory and add your Google API key:

    GOOGLE_API_KEY=your_google_api_key
  4. Run the Application

    python main.py

you will open the localhost or the share link by gradio

Once the application is running, navigate to the Gradio URL displayed in your terminal to interact with the chatbot.

Contributing

We welcome contributions from the community! Whether you're fixing bugs, adding new features, or improving documentation, your help is greatly appreciated.

How to Contribute

  1. Fork the Repository

    Start by forking the repository to your GitHub account.

  2. Create a New Branch

    git checkout -b your-feature-branch
  3. Make Your Changes

    Implement your changes or improvements in your branch.

  4. Commit Your Changes

    git commit -m "Description of your changes"
  5. Push to Your Fork

    git push origin your-feature-branch
  6. Submit a Pull Request

    Go back to the original repository and submit a pull request from your branch to the main branch.

Contribution Guidelines

  • Ensure your code adheres to the project's coding standards.
  • Write clear, concise commit messages.
  • Update the README.md with details of changes, including new environment variables, exposed ports, etc., if applicable.
  • Open a draft pull request early if you want feedback on your contribution.

Acknowledgments

  • Google Generative AI for the powerful AI models.
  • Gradio for the interactive web interface.

Thank you for visiting our project. We hope you find it useful and look forward to your contributions!

About

Your personal chatgpt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages