Chatbot
Basic ChatBot using CTransformers, ChromaDB and Gradio. Configured for CPU.
Install / Use
/learn @jdwebprogrammer/ChatbotREADME
ChatBot
Basic ChatBot using CTransformers, ChromaDB and Gradio. Configured for CPU.
- See a live demo on HuggingFace at:
- https://huggingface.co/spaces/JDWebProgrammer/chatbot

Experimental
Please note that AI is still in experimental stages with known problems such as bias, misinformation and leaking sensitive information. We cannot guarantee the accuracy, completeness, or timeliness of the information provided. We do not assume any responsibility or liability for the use or interpretation of this project.
While we are committed to delivering a valuable user experience, please keep in mind that this AI service operates using advanced algorithms and machine learning techniques, which may occasionally generate results that differ from your expectations or contain errors. If you encounter any inconsistencies or issues, we encourage you to contact us for assistance.
We appreciate your understanding as we continually strive to enhance and improve our AI services. Your feedback is valuable in helping us achieve that goal.
Description
This is a simple ChatBot to use as a simple starting template. Just add text files into the "./data/reference" folder

Features
- Full custom RAG implementation
- Copy text files into ./data/reference for embedding
- Auto save chat logs
- Auto download and run open source LLM's locally
- Currently using the awesome combined works of Mistral AI's LLM base model trained with 128k context window by NousResearch and quantized to 4bits for fast speed by TheBloke
Step 1: Install Dependencies
First make sure you have python and pip installed. Then open a terminal and type:
pip install -r requirements.txt
Step 2: Add Embeddings [Optional]
Place text files in "./data/reference" to enhance the chatbot with extra information
Step 3: Run Chatbot
Open a terminal and type:
python app.py
The web interface will start at http://0.0.0.0:7864
Progress & Updates
- Embeddings properly save & persist, full custom RAG implementation working
Known Issues
- Prompts sometimes give bogus responses - possibly from prompt instructions or context size
- There is currently no feedback but will save feedback logs
Future Plans
- Only tested on Linux with CPU, working towards full OS and device compatibility
- Will be implementing auto retrieval from wiki for RAG(Retrieval Augmented Generation) loop
- Feedback datasets will be used in the trainable project coming soon
- Still working on instructional syntax which could be causing impaired results
Credits
- Mistral: https://mistral.ai/
- HuggingFace: https://huggingface.co/
- TheBloke: https://huggingface.co/TheBloke
- ctransformers: https://github.com/marella/ctransformers
- gradio: https://github.com/gradio-app/gradio
- chroma: https://github.com/chroma-core/chroma
Related Skills
openhue
341.0kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
341.0kElevenLabs text-to-speech with mac-style say UX.
weather
341.0kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
