{"id":26590074,"url":"https://github.com/sakhileln/multimodal-chatbot-with-memory","last_synced_at":"2026-04-11T14:06:20.056Z","repository":{"id":283966169,"uuid":"953419435","full_name":"sakhileln/multimodal-chatbot-with-memory","owner":"sakhileln","description":"A lightweight, CLI-based conversational agent that processes text and image inputs, remembers past interactions.","archived":false,"fork":false,"pushed_at":"2025-05-16T18:18:41.000Z","size":951,"stargazers_count":0,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T19:06:03.077Z","etag":null,"topics":["chatbot","machine-learning","nlp","numpy","opencv","spacy","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sakhileln.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-23T10:23:50.000Z","updated_at":"2025-05-16T18:18:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"6dafe495-07e1-47fc-afe7-99a72c8ab461","html_url":"https://github.com/sakhileln/multimodal-chatbot-with-memory","commit_stats":null,"previous_names":["sakhileln/multimodal-chatbot-with-memory"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sakhileln/multimodal-chatbot-with-memory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakhileln%2Fmultimodal-chatbot-with-memory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakhileln%2Fmultimodal-chatbot-with-memory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakhileln%2Fmultimodal-chatbot-with-memory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakhileln%2Fmultimodal-chatbot-with-memory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sakhileln","download_url":"https://codeload.github.com/sakhileln/multimodal-chatbot-with-memory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakhileln%2Fmultimodal-chatbot-with-memory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28132995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-30T02:00:05.476Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","machine-learning","nlp","numpy","opencv","spacy","tensorflow"],"created_at":"2025-03-23T13:20:38.618Z","updated_at":"2025-12-30T22:06:52.571Z","avatar_url":"https://github.com/sakhileln.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Multimodal Chatbot with Memory\nA lightweight, CLI-based conversational agent that processes text and image inputs, remembers past interactions, and responds contextually. Built with Python, spaCy (text processing), MobileNet (image classification), and a simple memory system, it runs locally on a CPU.\n\n## Overview\nThis project extends my [Simple Multimodal Agent](https://github.com/sakhileln/multimodal-agent) by adding conversational memory. It takes text prompts (e.g., \"What is this?\") and image files (e.g., \"dog.jpg\") via CLI, processes them, and maintains context across interactions. For example:\n- Input 1: `--text \"What is this?\" --image \"dog.jpg\"` → \"This is a dog.\"\n- Input 2: `--text \"Is it big?\"` → \"The dog doesn’t look very big.\"\n\nThe focus is on learning conversational AI, context management, and memory integration while keeping it simple and local.\n\n## Features\n- Text intent extraction (e.g., \"describe\", \"classify\") using spaCy.\n- Image classification using pre-trained MobileNet.\n- Memory system to track conversation history (inputs and outputs).\n- Context-aware responses based on prior interactions.\n- CLI interface with `argparse`.\n\n## Requirements\n- Python 3.8+\n- Libraries:\n  - `spacy==3.7.2` (with `en_core_web_sm` model)\n  - `opencv-python==4.9.0.80`\n  - `tensorflow==2.15.0`\n  - `numpy==1.26.4`\n- No new dependencies beyond the above.\n\n## Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/sakhileln/multimodal-chatbot-with-memory.git\n   cd multimodal-chatbot-with-memory\n   ```\n2. Install dependencies:\n    ```bash\n    pip install -r requirements.txt\n    ```\n3. Download the spaCy model:\n    ```bash\n    python -m spacy download en_core_web_sm\n    ```\n## Usage\n- Run the chatbot via CLI:\n    ```bash\n    python chatbot.py --text \"What is this?\" --image \"path/to/dog.jpg\"\n    ```\n- Follow up with a context-aware prompt:\n    ```bash\n    python chatbot.py --text \"Is it big?\"\n    ```\n## Project Structure\n- `chatbot.py`: Main script with CLI, memory, and response logic.\n- `memory.py`: Memory system to store conversation history.\n- `text_processor.py`: Text intent extraction with spaCy.\n- `image_processor.py`: Image classification with MobileNet.\n- `requirements.txt`: Dependencies list.\n\n## Goals\n- Deepen understanding of conversational AI and context management.\n- Build a reusable, modular codebase for future experiments.\n\n## License\nThis project is licensed under the GPL v3.0 License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\n- Sakhile III  \n- [LinkedIn Profile](https://www.linkedin.com/in/sakhile-ndlazi)\n- [GitHub Profile](https://github.com/sakhileln)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakhileln%2Fmultimodal-chatbot-with-memory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakhileln%2Fmultimodal-chatbot-with-memory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakhileln%2Fmultimodal-chatbot-with-memory/lists"}