A TDD coding bot
Project description
bb7
A TDD coding bot using ollama.
Introducing "bb7", an advanced chat bot designed for versatile interactions. Equipped with TTS (Text-to-Speech) capabilities, bb7 enables seamless voice conversations with users. It also supports local Retrieval-Augmented Generation (RAG), allowing for efficient document-based queries and responses, even without cloud dependency.
Prerequisites
First, install ollama
curl -fsSL https://ollama.com/install.sh | sh
Windows: https://ollama.com/download/windows
And install a model.
ollama run llama3.2
Installation
pipx install bb7
If the installation is not working well, please install 0.3.3 first, then upgrade to latest.
pipx install bb7=0.3.3
pipx upgrade bb7
Demo
Chat:
bb7
Usage: bb7 [OPTIONS]
Options:
-t, --test Run tests and write tests.
-h, --help Show this message and exit.
bb7 is a TDD coding bot. It can recognize the Python project structure,
find the tests folder, and run tests. It can also chat with a chatbot.
The current directory is not in a Python project.
Welcome to the bb7 Chat Terminal!
>> /help
Available commands:
/exit, /quit, /q - Exit the chat
/clear - Clear the screen
/voice - Voice output last message
/select - Select voice language
/activate - Activate a document
/deactivate - Deactivate a document
/load - Load a document
/model [llama3.2] - Select a model
/help - Show this help message
>>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bb7-0.5.5.tar.gz
.
File metadata
- Download URL: bb7-0.5.5.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.19.1 CPython/3.10.12 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d3b3916cdbf0c366be5212dbd81d1b68ec413676f77f309265142e023727ca |
|
MD5 | ad303fdfb1be390178e4e3de8108036c |
|
BLAKE2b-256 | ba8031928d75e599f4e2e8391f520d73dcbfaaf53d2b2cacd14dc41174cbf125 |
File details
Details for the file bb7-0.5.5-py3-none-any.whl
.
File metadata
- Download URL: bb7-0.5.5-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.19.1 CPython/3.10.12 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81232d886fce42ccec6276a97c21d87741484476eaac35ca2c95dd99b9d3411e |
|
MD5 | 0ca0c022fd51f47c93b0022783d91055 |
|
BLAKE2b-256 | ae4b8d72bd0ac2c6b30974ec9ec9c16a289e4d45639f8dd06826332a28e56397 |