Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drunkwcodes/bb7
A TDD coding bot using ollama
https://github.com/drunkwcodes/bb7
Last synced: about 2 months ago
JSON representation
A TDD coding bot using ollama
- Host: GitHub
- URL: https://github.com/drunkwcodes/bb7
- Owner: drunkwcodes
- License: mit
- Created: 2024-08-15T05:45:55.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T03:53:29.000Z (3 months ago)
- Last Synced: 2024-09-08T23:10:03.667Z (3 months ago)
- Language: Python
- Size: 156 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Ollama - bb7 - platform Python (Terminal)
README
# 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
```Windows: https://ollama.com/download/windows
And install a model.
```
ollama run llama3.2
```### Installation
[pipx](https://github.com/pypa/pipx)
```
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
>>
```![selecting the TTS language](selections.png)
![Talking about Linkin Park](talking_about_linkin_park.png)
![Teaching Japanese](teaching_japanese.png)