Metadata-Version: 2.1
Name: bb7
Version: 0.5.1
Summary: A TDD coding bot
Author-Email: Drunkwcodes <drunkwcodes@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/drunkwcodes/bb7
Project-URL: Issues, https://github.com/drunkwcodes/bb7/issues
Requires-Python: >=3.11
Requires-Dist: rich>=13.7.1
Requires-Dist: ollama>=0.3.1
Requires-Dist: click>=8.1.7
Requires-Dist: pytest>=8.3.2
Requires-Dist: gTTS>=2.5.3
Requires-Dist: pygame>=2.6.0
Requires-Dist: prompt-toolkit>=3.0.47
Requires-Dist: platformdirs>=4.3.1
Requires-Dist: pytest-cov>=5.0.0
Requires-Dist: tomlkit>=0.13.2
Requires-Dist: llama-index>=0.11.14
Requires-Dist: llama-index-embeddings-huggingface>=0.3.1
Requires-Dist: llama-index-readers-file>=0.2.2
Requires-Dist: chromadb>=0.5.11
Requires-Dist: llama-index-vector-stores-chroma>=0.2.0
Requires-Dist: llama-index-llms-ollama>=0.3.3
Requires-Dist: peewee>=3.17.6
Description-Content-Type: text/markdown

# bb7

![](bb7_logo.png)



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
```

And install a model.

```
ollama run llama3.2
```

### Installation
```
pipx install bb7
```

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
/help - Show this help message
>> 
```

![](selections.png)
