Giter Site home page Giter Site logo

b08x / monadic-chat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yohasebe/monadic-chat

0.0 0.0 0.0 25.59 MB

A highly configurable Ruby framework for creating intelligent chatbots

Home Page: https://yohasebe.github.io/monadic-chat

License: MIT License

Shell 3.70% JavaScript 33.74% Ruby 42.50% CSS 6.43% HTML 13.15% Dockerfile 0.48%

monadic-chat's Introduction

CI

Β 

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.

Β 

Β 

🌟 Command Line Version

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. The URL of the repository for the command line version is as follows

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
  • πŸ”ˆ Text-to-speech functionality for AI assistant responses
  • πŸ—£οΈ Choose the language and voice for text-to-speech (available on Google Chrome or Microsoft Edge)
  • πŸ—ΊοΈ Automatic language detection for appropriate text-to-speech playback
  • 😊 Enable voice conversations with the AI agent using speech recognition and text-to-speech

Image Generation

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

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
[email protected]

License

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

monadic-chat's People

Contributors

b08x avatar dependabot[bot] avatar yohasebe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.