Code Monkey home page Code Monkey logo

responsive-ai's Introduction

Responsive AI

Responsive AI app that leverages OpenAI GPT to provide rich interactions with users.

Problem

This used to be a Next.js app that connected to OpenAI's GPT API and offered users access to ChatGPT without having to register. However, since OpenAI added an expiration on my API key, the only way to further access their API is by signing up for the paid version ๐Ÿ™„.

Architecture and Design

There are still ways to provide users an equivalent or even greater utility given that there are so many LLM (large language model) options available now. There are several variations and approaches I will experiment with around the core functionality of having a responsive AI agent.

We want to create a responsive AI agent or app that:

  1. Takes real-time speech and converts to text
    • We'll need to find a way to have the service listen to inputs from a microphone. Later we may expand to audio files, etc.
    • Speech-to-text or vice versa is one of the most common NLP (natural language processing) tasks, we can leverage Python and various NLP libraries to create a speech-to-text service
  2. Sends text to a service that communicates with an LLM (could be ChatGPT)
    • This part is just researching which LLM is most suitable for use and building around that. It should be a free model or service and easy to use
  3. Takes response from LLM and converts back to speech in real-time
    • Similar to Part 1 above but in reverse (text-to-speech), there should be some libraries we could use for that

Q: Paid versions of OpenAI's ChatGPT already has support for speech recognition so why reinvent the wheel?

The catch is you have to pay and it takes the fun out of building our own custom solution which could extend to more functionalities native to your desktop or mobile device. More importantly, we want to build out the solution using as many free and open source resources as possible so that it is as accessible to as many people as possible which was OpenAI's original mission they have since steered away from.

responsive-ai's People

Contributors

stevenxchung avatar

Watchers

Kostas Georgiou avatar  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.