Miles, or the Machine Intelligent Language Enabled System, is a revolutionary voice assistant powered by the cutting-edge GPT-4 Turbo and GPT-3.5 Turbo AI models from ChatGPT. Get ready to experience magical voice commands and state-of-the-art language processing! ๐ฅ
-
๐ง AI Language Models: Miles is powered by the advanced GPT-4 Turbo and GPT-3.5 Turbo models from OpenAI, providing state-of-the-art natural language understanding and generation capabilities. You can easily switch between models as needed just by asking.
-
๐ต Spotify Integration: Control Spotify entirely with your voice. Miles can play, pause, skip tracks, adjust volume, and more, all through your voice. (Requires Spotify Premium)
-
โ Weather Data: Get real-time weather information by casually mentioning it in your requests. No need to use specific prompts or keywords โ Miles will understand the context.
-
๐พ Persistent Memory: Ask Miles to remember important details, dates, or information, and he'll store it in his memory for easy retrieval later on.
-
โ Built-in Calculator: Miles can use a real calculator and will provide math results in LaTeX format.
-
๐จโ๐ป Multi-tasking: Miles can handle up to 3 tools or tasks simultaneously, streamlining your productivity.
-
๐ Contextual Awareness: Miles understands context about himself, his creator, the app he's in, and you โ based on the information you provide him.
-
๐ค Realistic Voice: Powered by OpenAI's Text-to-Speech technology, Miles has a natural, human-like voice that enhances the overall experience.
-
๐ Wake Word Detection: Miles responds accurately to Miles, hey Miles, Yo Miles or just anything you want, as long as it ends with Miles.
-
๐ Internet Browsing: Miles can search the internet for anything you ask about, you don't even have to be direct.
-
๐ค Ask About Capabilities: Not sure what Miles can do? Just ask him! He'll tell you everything.
-
๐ฐ Cost-Effective Mode: Find Miles too pricey? Ask him to be cheaper, and he'll switch to a more cost-effective model and system prompt. ๐ธ
-
๐ญ Personality Customization: Miles can rewrite his own personality and instructions on command! Tell him to be anything you want. ๐คฏ
-
๐ API Keys: You'll need a few API keys to use Miles, but the app will guide you. Only OpenAI requires payment. ๐ณ
Miles is powered by a language model, so no specific commands are needed. Just speak naturally, and he'll understand! For example:
- ๐ถ "Miles, play that funky tune that gets me groovin'!"
- ๐ "Yo Miles, what's the weather gonna be like for my pool party this weekend?"
- ๐ค "Miles, please store the date of my bestie's birthday so I don't forget it again!"
Let your imagination run wild with Miles!
The most simple of them all. Miles Welcome Page:
The Setup page walks users through the process of entering their API keys and other necessary configurations for M.I.L.E.S.
M.I.L.E.S is designed to be fully cross-platform, ensuring a seamless experience on both macOS and Windows. Depending on your operating system, follow the corresponding guide for installation instructions:
-
macOS Users: Enjoy a straightforward installation with our easy install script. Install on macOS (easy install guide)
-
Windows Users: Due to platform limitations, the installation process involves a few more steps. But don't worry, we've got you covered with a detailed guide. Install on Windows (detailed guide)
- Do I have to pay? The only API that requires payment is OpenAI, it is a pay per use model so you won't have unnecessary charges. You also need Spotify Premimum to use Miles` Spotify features, but to get the API key I believe it's free.
Disclaimer: This guide is the product of a collaboration between the world's most advanced AI, which powers M.I.L.E.S, and a human expert who has meticulously reviewed it for accuracy and clarity.
- Run command lines as Administrator on Windows or prefix commands with
sudo
on Mac/Linux. - Ensure a stable internet connection.
- Verify there's enough disk space and you have the necessary permissions for installations.
- Keep your operating system updated to prevent compatibility issues.
-
Chocolatey Installation Failure:
- Error: "Cannot connect to Chocolatey website."
- Solution: Check your internet connection. For proxy users, configure Chocolatey to utilize your proxy settings.
- Error: "ExecutionPolicy restriction."
- Solution: Execute
Set-ExecutionPolicy AllSigned
orSet-ExecutionPolicy Bypass -Scope Process
in PowerShell as Administrator.
- Solution: Execute
- Error: "Cannot connect to Chocolatey website."
-
Python Installation Failure via Chocolatey:
- Error: "Python package not found."
- Solution: Update Chocolatey with
choco upgrade chocolatey
. If unresolved, install Python manually from its official website and adjust your PATH accordingly.
- Solution: Update Chocolatey with
- Error: "Error during installation."
- Solution: Consult the Chocolatey logs at
C:\ProgramData\chocolatey\logs\chocolatey.log
. Retry the installation ensuring a stable internet connection.
- Solution: Consult the Chocolatey logs at
- Error: "Python package not found."
-
Virtual Environment Activation Error:
- Error: "Virtual environment not activating."
- Solution: Confirm you're in the directory where
Miles-env
was created before attempting activation. Reinstall Python with the 'Add Python to PATH' option selected if issues persist.
- Solution: Confirm you're in the directory where
- Error: "Virtual environment not activating."
-
Git Installation Failure:
- Error: "Git is not recognized as an internal or external command."
- Solution: Check Git installation with
choco install git -y
. For persistent issues, add Git manually to your system PATH.
- Solution: Check Git installation with
- Error: "Git is not recognized as an internal or external command."
-
Node.js and npm Installation Issues:
- Error: "npm commands not recognized."
- Solution: Reinstall Node.js through Chocolatey using an Administrator PowerShell window. Add Node.js to your PATH manually if necessary.
- Error: "npm commands not recognized."
-
Project Repository Clone Failure:
- Error: "Repository not found."
- Solution: Verify the repository URL. Ensure Git is installed and you have an active internet connection.
- Error: "Repository not found."
-
Setup Script Execution Error:
- Error: "Setup script fails to execute."
- Solution: Change execution policy with
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
. Ensure the script's path is correct before retrying.
- Solution: Change execution policy with
- Error: "Setup script fails to execute."
-
Node.js/npm Dependency Installation Failure:
- Error: "npm ERR! code EACCESS."
- Solution: Operate your terminal as Administrator or use
sudo
on Mac/Linux. Consider using nvm for easier version and permission management.
- Solution: Operate your terminal as Administrator or use
- Error: "npm ERR! code EACCESS."
-
API Key Configuration Issues:
- Error: "Invalid API Key."
- Solution: Recheck your API keys for accuracy. Ensure they're correctly placed in your configuration files or environment variables.
- Error: "Invalid API Key."
-
Spotify API Connection Failure:
- Error: "Could not reach Spotify API."
- Solution: Confirm your Spotify client ID and secret. Check if your firewall or antivirus is blocking the connection. For proxy users, adjust your system or application settings accordingly.
- Error: "Could not reach Spotify API."
- Reinstalling Chocolatey Packages: Uninstall problematic packages with
choco uninstall package-name
and reinstall them. - Firewall/Antivirus Interference: Temporarily disable these to check if they're blocking installations, remembering to enable them afterward.
- Updating System Dependencies: Ensure all necessary system libraries are up to date by running system updates.
- Log Analysis: Check installation logs for specific error messages. For Chocolatey, refer to
C:\ProgramData\chocolatey\logs\chocolatey.log
. - Seek Help Online: Use error messages to search for solutions on platforms like Stack Overflow, official documentation, or through the GitHub issues page of the software.
Note: The AI and I have combined our knowledge and expertise to provide you with detailed solutions. Yet, some issues may require adjustments based on your specific system setup.
For further assistance, feel encouraged to use the GitHub issues tab to report unresolved problems.
-
Unrestricted Interaction: M.I.L.E.S has
no token limit
, this means you might be twiddling your thumbs if you submit a long request. -
Intuitive Understanding & Action: Powered by an advanced
language model
, M.I.L.E.S not only grasps even the most uniquely phrased commands but also proactively executes actions when it deems necessary. It's basicallymagic in a bottle
, but not it a bottle, or magic. -
Customization: Just
ask M.I.L.E.S to change his model
and he will. Miles can alsochange his own system prompt on command
or by himself to whatever he wants. -
World Class Wake Word Invocation: Whether you say
"Hey Miles"
,"Hi Miles"
,"What's up Miles"
,"Miles"
, or literaly any starting phrase that ends with"Miles"
, the system WILL respond accurately. We have about a10% fail rate
for hearing if it's been activated, and a 0% accidental activation error rate. -
Advanced Audio Processing: M.I.L.E.S excels in noisy environments, ensuring accurate command interpretation.
-
Graphics & Interface: Features a
dynamic interface
displaying Spotify song playback, weather cards, user interactions, and ongoing actions.
- ๐ Realistic Voice Upgrade with
OpenAI TTS
: M.I.L.E.S now utilizesOpenAI TTS
for Text-To-Speech, elevating the voice quality toultra-realistic
levels. M.I.L.E.S will seamlessly switch to abasic TTS
if any errors are detected. - ๐ข Enhanced Wake Word Detection: M.I.L.E.S now leverages the same technology used in
leading smart home products
likeGoogle Home
andAlexa
forunmatched wake word detection accuracy
, this means you don't have to wait for the program to listen and stop listening, now it'salways listening
! - ๐ข Enhanced Calculator Operations: M.I.L.E.S now efficiently handles
multiple simultaneous calculations
at the same time. - ๐ก Improved UI: Introducing a
graphical interface
for better user interactions. - ๐ฆ๏ธ Enhancements: Augmented
weather data
,permanent memory
, anddate + time support
. - ๐ฒ Multi-Task Mode M.I.L.E.S can use up to
3 tools
at once, this means M.I.L.E.S can find the weather inShanghai
, calculate the temp difference if it were to drop23.883 degrees
, and then store it in memory to call upon later, all before he even responds to you. That's the future. - ๐ป Cross Platform! M.I.L.E.S now supports
MacOS
andWindows 10/11
. - ๐ง Full Playback Controls M.I.L.E.S can now
pause
,unpause
,toggle playback
, setspotify volume
, and setsystem volume
. - ๐ Smart Audio Management If you request Miles while a song is playing, he will
pause it to listen
,unpause at a low volume
while he speaks, and return to theorginal volume
when he's done talking. Miles also remembersplayback states
andvolume levels
. - ๐พ Internal Automatic Model Switching Find that
GPT-4-Turbo
is too expensive? Just ask Miles to change it to thecheaper one
. It's that simple. - ๐ Dynamic Action Notifications Miles' UI now shows
what specifically he is doing
, instead of "Searching a song" it'll now say "Searching forNever gonna give you up
". This is applied for all Actions. - ๐ชช Internal Automatic Personality switching M.I.L.E.S can now change his own
system prompt
from what you ask, or by himself. This lets him or you specifypersonality traits
,ways of responding
, andtopics to talk about or avoid
. Think of it like ainstruction set
combined with apersonality desctiption
. - โ๏ธ Graphical Setup Process Once you start the app, it will
automaticaly show a setup screen
if you don't already have API keys setup. - ๐ง Default Model Change The default LLM is now
GPT-3.5-Turbo
, the only reason for this is that most peopledon't have access to GPT-4-Turbo
soMiles would crash instantly
. If you have access and want to useGPT-4-Turbo
just ask Miles to change it toGPT-4-Turbo
. - ๐ Error Handling on Front End: Errors will now display in the action notification when they occur, enhancing user experience by providing immediate feedback.
- ๐ง Better Audio Input Management: Automatically switches without giving errors and allows low bitrate devices to work, improving accessibility and reliability.
- ๐งฎ LaTeX Math Formatting: Miles will reply to all math questions in LaTeX format, ensuring that mathematical expressions are displayed correctly and are easy to read.
- โ๏ธ Graphical settings and config menu As much as I want the users of Miles to speak their every command and desire to him without ever clicking buttons or typing, I also don't want people to have to physically change lines of code to get Miles to work. Let's say someone doesn't have access to GPT-4-Turbo, most people don't, since you wouldn't be able to ask Miles to switch the model by himself, you'd have to dig into the main code, so instead, right after I get the api key interface working, i'll be putting both the api key interface, and any config settings including speed and cost optimizing features in a settings menu that will be located in the top right of the app.
- ๐ช Real time response streaming I am "trying" to add real time streaming on a token by token basis for all responeses, now this by itself doesn't seem like a hard task, but no, this is the most challenging part of Miles that I have ever attempted. Right now, (future employers look away) I literally take print statements and format them to appear on the main interface, this works with responeses that show all at once, but this is "probably" not gonna work with streaming, typically each chunk would be printed at a time, and I would have to print a start and end token, as well as a tool call token to infer when to start and stop the stream on the front end, which is literally not possible with my skill level, it's just too over engineered. So I have to learn socket io management and figure out how to implement that into the app to replace the current method, I REALLY don't wanna do this, so I'm just gonna wait for GPT-5 so it can do it for me :).
As we continue to push the boundaries of voice assistant technology with M.I.L.E.S, here's a sneak peek into the exciting journey ahead:
-
๐ฑ Android App: We envision M.I.L.E.S on every Android device. An intuitive app designed to seamlessly blend with your daily tasks, offering AI-powered assistance at your fingertips. Experience unparalleled convenience and intelligence on-the-go.
-
๐ Web App: Accessibility is our top priority. Soon, you'll be able to interact with M.I.L.E.S right from your browser, ensuring assistance is just a tab away. Ideal for work, research, or casual browsing.
-
๐ป 1-Click Install for Desktop App: Simplifying the user experience is at the heart of our mission. Our upcoming 1-click install ensures a hassle-free setup, letting you dive into the world of M.I.L.E.S without a hitch.
-
๐ iOS App: M.I.L.E.S is gearing up to join the Apple ecosystem. Our iOS app will bring the same intelligence and flair to Apple devices, tailored to meet the high standards of iOS users.
-
๐ฅ๏ธ Mac Support (Completed!): Completed!
-
๐ Packaged Smart Home Product: Transforming houses into smarter homes. The future will see M.I.L.E.S integrated into dedicated smart home products. Imagine a world where M.I.L.E.S orchestrates your lights, thermostats, security systems, and more, all through voice commands.
Hello! I'm a one-man developer team, currently navigating the world of high school. Balancing between academics and passion projects means it might take me a few months to roll out new features for M.I.L.E.S, but I'm always dedicated to delivering the best.
๐ My Work Ethic: At the core of my development philosophy is simplicity and accessibility. I firmly believe that everyone, irrespective of their expertise or financial standingโbe it novice or advanced, rich or poorโshould have access to cutting-edge technology like M.I.L.E.S. It's for this reason I've committed to keeping M.I.L.E.S free, permanently. Despite the costs I bear to keep this vision alive. I strive to create an interface so intuitive that anyone can harness its full potential with ease, making AI-driven assistance universally accessible.
๐ฑ The Origin: My journey into this world of voice assistants began when I recognized the limitations of platforms like Siri. Eager to bring a more competent solution to the table, I embarked on a self-taught coding expedition. This led to the birth of my initial project, JarvisChatGPT, available in my other repository. While JarvisChatGPT was a step in the right direction, emphasizing simplicity, I knew I had the potential to create something even more advanced. Hence, M.I.L.E.S was conceived, a culmination of weeks of learning, testing, and innovating.
Your support fuels my passion, and I'm excited to continue this journey with all of you!
Your feedback shapes M.I.L.E.S! Though this is a beta release, we eagerly await your feature requests and issue reports for our final launch on GitHub.
Contact: anthonyhayward1000@gmail.com