YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

Chatbot

Overview

This is a simple chatbot that interacts with users via the command line. It is built using Python and can be installed and run as a standalone package.

Features

  • Interactive chatbot interface
  • Easy installation and execution
  • Modular design for easy customization

Installation

  1. Clone the repository

    git clone https://github.com/ugaurav/chatbot.git
    cd chatbot
    
  2. Install dependencies

    pip install -r requirements.txt
    
  3. Install the package in editable mode

    pip install -e .
    

Usage

Running the Chatbot

After installation, you can start the chatbot using:

chatbot-interact

Manual Execution

Alternatively, you can run the script directly:

python chatbot/interact.py

Development

Project Structure

chatbot/
β”œβ”€β”€ chatbot/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ interact.py
β”‚   β”œβ”€β”€ train.py
β”œβ”€β”€ setup.py
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md

Entry Point Fix

Ensure your setup.py has a correct entry point:

entry_points={
    "console_scripts": [
        "chatbot-interact=chatbot.interact:main"
    ]
}

And inside chatbot/interact.py, define a main() function:

def main():
    chatbot = Chatbot()
    chatbot.chat()

if __name__ == "__main__":
    main()

Troubleshooting

  • If the chatbot-interact command is not found, try:
    python -m chatbot.interact
    
  • If installation fails, ensure you are in the correct environment and have pip updated:
    python -m pip install --upgrade pip
    

License

This project is licensed under the MIT License.

Author

Gaurav Upadhyay

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support