Skip to content

Pedal-Intelligence/saypi-userscript

Repository files navigation

Say, Pi Browser Extension

SayPi Logo

Enhance your voice interactions with Inflection AI's Pi chatbot with the Say, Pi extension for accurate voice dictation and immersive spoken dialogues.

Description

saypi-userscript is a powerful content script that enhances the voice dictation capabilities of Inflection AI's conversational AI chatbot, Pi. By installing and enabling this script in your web browser, you can have an immersive and interactive spoken dialogue with Pi, on the web at https://pi.ai.

Assembly

The content script is assembled using Webpack with npm run build from the command line in the project directory. This will generate a saypi.user.js file in the /public directory, bundling together all necessary JavaScript modules and assets. This user.js file is what get packaged as a userscript (with metadata.txt) and Chrome extension (with manifest.json).

Demo

Watch the demo video on YouTube

Features

  • Accurate Voice Dictation: Say, Pi leverages advanced speech-to-text technology from OpenAI to provide accurate voice transcription as you speak.
  • Hands-Free Operation: Once enabled, a "call" button appears on the pi.ai web interface, allowing you to initiate a back-and-forth spoken conversation with Pi effortlessly.
  • Real-time Transcription: As you speak, your speech is transcribed in real-time and sent to Pi, who responds with both text and audio.
  • Seamless Integration: The userscript seamlessly integrates with Pi's web platform, ensuring a smooth and natural conversational experience.

Installation

Method 1: As A Browser Extension

  1. Say, Pi works best as a browser extension. Install it from the Chrome Web Store or unpacked from this repo

Method 2: As A Userscript

  1. Install a userscript manager extension for your browser (e.g., Tampermonkey, Greasemonkey).
  2. Install the userscript from public/saypi.user.js file in this repository, or from https://www.saypi.ai.

Compatibility

The Say, Pi works best on Chromium browsers such as Google Chrome, Microsoft Edge, and Kiwi Browser. It also works on these and other browsers, including Safari, as a userscript.

Contribution

We are not currently seeking code contributions to the repo. However, if you have ideas for improvements or bug fixes, feel free to discuss them with us on any of our social or support channels. Let's work together to enhance the voice interaction experience with Pi!

License

This project is licensed under a proprietary commerical license. Some source code is made available in this repo for public review, but it may not be copied, modified, forked or redistributed - see the LICENSE file for details.

Disclaimer

The "Say, Pi is an unofficial enhancement for Pi.ai. Use it responsibly and respect the terms of service of Pi as provided by Inflection AI. We cannot guarantee its compatibility with future updates or changes to Pi platform.

Contact Us

If you have any questions or comments, we'd love to hear from you! Drop us a message any of the channels below, or find us on the Pi Party Discord server. 🥧