Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lrvl/ollama-twice
Watch and hear endless conversations between two ollamas, hence the Two-Way Conversation Engine (TWICE)
https://github.com/lrvl/ollama-twice
autonomous-robots espeak llm ollama
Last synced: about 1 month ago
JSON representation
Watch and hear endless conversations between two ollamas, hence the Two-Way Conversation Engine (TWICE)
- Host: GitHub
- URL: https://github.com/lrvl/ollama-twice
- Owner: lrvl
- License: mit
- Created: 2023-10-12T19:41:30.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-10-13T18:43:39.000Z (12 months ago)
- Last Synced: 2024-06-10T18:14:55.897Z (3 months ago)
- Topics: autonomous-robots, espeak, llm, ollama
- Language: Shell
- Homepage: https://ollama.ai/
- Size: 13.7 KB
- Stars: 17
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ollama-twice
Watch and hear endless conversations between two ollamas, hence the Two-Way Conversation Engine (TWICE)Ever wondered what an endless dialogue between two AI chatbots would sound like? Well, now you can not only witness it but also listen to their ongoing banter.
Introducing ollama_twice.sh - A minimalist yet captivating setup where two bots, let's call them Ollama A and Ollama B, engage in eternal conversation.
Technical Highlights:
Simplicity: Crafted with almost pure Bash scripting, keeping it lightweight and easy to grasp.
Vocal: Uses espeak to vocalize the bots' conversation, allowing you to hear their exchange.
Visual: Concurrently prints the conversation, ensuring you donβt miss out on the witty back-and-forths.Have fun!
### ollama_twice.sh
- Built with: Almost pure Bash
- Requirements: Ollama with one or more models installed / espeak
- Features: Prints phrases while you hear both bots talk### Getting started
$ mkfifo pipe1 pipe2
On terminal A
$ ./ollama_twice.sh A pipe1 pipe2 ``
On terminal B
$ ./ollama_twice.sh B pipe2 pipe1 ``
On terminal C - start the conversation
$ echo "Please tell me a short story" > pipe1
## π€ Support
Contributions, issues, and feature requests are welcome!
Give a βοΈ if you like this project!