0.01
The project is in a healthy, maintained state
Monadic Chat is a command-line client application program that uses OpenAI's Text Completion API and Chat API to enable chat-style conversations with OpenAI's artificial intelligence system in a ChatGPT-like style.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Β 

A highly configurable Ruby framework for creating intelligent chatbots

Β 

Overview

🌟 Monadic Chat is a highly configurable web application framework for creating and using intelligent chatbots, leveraging the power of OpenAI's Chat and Whisper APIs and the Ruby programming language.

Β 

Β 

There are two types of Monadic Chat: one is a web browser-based app provided in this repository, which is installed using Docker. The other is a command line application, which is provided as a RubyGem.

Features

Basic Structure

  • πŸ€– Powered by GPT-3.5 or GPT-4 via OpenAI's Chat API, with unlimited conversation turns
  • πŸ‘©β€πŸ’» Multi-OS support using Docker for Mac, Windows, or Linux

Data Management

  • πŸ’Ύ Export/import messages and settings
  • πŸ’¬ Specify the number of recent messages (active messages) to send to the API, while storing and exporting older messages (inactive messages)
  • πŸ”’ Generate text embeddings from data in multiple PDF files and query their content using OpenAI's text embedding API

Voice Interaction

  • πŸŽ™οΈ Automatic transcription of microphone input using OpenAI's Whisper API
  • πŸ”ˆ Natural text-to-speech voices for AI assistant responses
  • πŸ—ΊοΈ Automatic language detection for appropriate text-to-speech playback
  • 😊 Voice chat with the AI agent using speech recognition and text-to-speech

Image Generation

  • πŸ–ΌοΈ Generate images from text prompt using OpenAI's DALLΒ·E 3 API

Image Understanding

  • πŸ‘€ Local images can be uploaded and let AI assistant analyze what are in them

Configuration and Extension

  • πŸ’‘ Customize the AI agent's behavior by specifying API parameters and the system prompt
  • πŸ’Ž Extend functionality using the Ruby programming language

Message Editing

  • πŸ“ Edit previous messages and retry when the desired AI agent response is not obtained
  • πŸ—‘οΈ Delete specific messages from previous conversations
  • πŸ“œ Add preceding messages with user, assistant, or system roles

Advanced

  • πŸͺ„ Obtain additional information alongside the primary AI assistant response and store it as the conversation state in a predefined JSON object

Author

Yoichiro HASEBE
yohasebe@gmail.com

License

The gem is available as open source under the terms of the MIT License.