Enhance your voice interactions with Inflection AI's Pi chatbot with the Say, Pi extension for accurate voice dictation and immersive spoken dialogues.
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.
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
).
Watch the demo video on YouTube
Method 1: As A Browser Extension
Method 2: As A Userscript
public/saypi.user.js
file in this repository, or from https://www.saypi.ai.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.
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!
This project uses both Jest and Vitest for testing.
Jest is a JavaScript Testing Framework with a focus on simplicity. Vitest is a test runner designed for Vite. It's used for all ESM and TypeScript modules in this project. You can run Vitest in watch mode with the following command:
npm run test:vitest:watch
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.
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.
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. 🥧