Skip to content
View Mrww305's full-sized avatar

Block or report Mrww305

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Mrww305/README.md

Simple CLI Chatbot

This is a command-line chatbot designed to act as a social media query handler, with a basic focus on car maintenance topics. It requires a Google API key to be provided at runtime for its (placeholder) core chat functionalities.

Note: The actual integration with a specific Google Chat API is currently a placeholder. You will need to replace the placeholder function with actual API calls using the appropriate Google client library.

Prerequisites

  • Python 3.x
  • Pip (Python package installer)

Setup

  1. Clone the repository (if you haven't already):

    git clone <repository-url>
    cd <repository-directory>
  2. Create a virtual environment (recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install dependencies:

    pip install -r requirements.txt

    (Note: requirements.txt currently includes google-api-python-client as a general placeholder. You might need to adjust this based on the specific Google API you choose to integrate.)

Running the Chatbot

To run the chatbot, you need to provide your Google API key using the --api-key command-line argument:

python chatbot.py --api-key YOUR_API_KEY_HERE

Replace YOUR_API_KEY_HERE with your actual Google API key.

Once running, you can type your queries into the console. Type exit to quit the chatbot.

Functionality

  • Accepts a Google API key at runtime (not stored).
  • Simulates interaction with a Google Chat API (current implementation is a placeholder).
  • Includes very basic keyword spotting for car maintenance related queries to provide slightly tailored (placeholder) responses.
  • Basic error handling for API key input and simulated API calls.

Future Development

  • Integrate with a specific Google Chat/NLP API (e.g., Dialogflow, Vertex AI, Google Cloud Natural Language API).
  • Expand car maintenance query understanding beyond simple keywords.
  • Implement more robust error handling for specific API responses.
  • Develop more sophisticated conversation management.

Popular repositories Loading

  1. Mrww305 Mrww305 Public

    Config files for my GitHub profile.

    Python 2

  2. goose goose Public

    Forked from block/goose

    an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM

    Rust 1

  3. browser-use-for-agents browser-use-for-agents Public

    Forked from browser-use/browser-use

    Make websites accessible for AI agents

    Python

  4. multiaggent multiaggent Public

  5. test2 test2 Public

  6. gemini-assitant gemini-assitant Public

    TypeScript