Skip to content

Python based AI Assitant that actually is useful, integrated with ChatGPT, Intellij Idea, Elgato Stream Deck and Windows 11

Notifications You must be signed in to change notification settings

sloppylopez/Cartuli-AI-Assitant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CARTULI IS NOW CALLED MONEYPENNY, WE ARE CONTINUING THE DEVELOPMENT OF THIS IDEA HERE, SAME SAME BUT BETTER!!! https://github.com/sloppylopez/moneypenny-idea-plugin

presentation.mp4

Hi!, my name is Cartuli.

I'm an 'achsually' useful AI Assistant. Watch me refactoring code automagically.

ChatGPT_RefactoringCodeInFolder.mp4

Streamlined Voice Commands with Elgato Stream Deck

With Cartuli, you can now give voice commands directly by pressing buttons on your Elgato Stream Deck or keyboard. Say goodbye to manual input and effortlessly execute actions with a single press. Cartuli puts the power of automation at your fingertips.

Web Browsing and Online Searches, ChatGPT

Need to quickly look up something online? Cartuli has got you covered. Open your favorite browser with just a command and make online searches without interrupting your workflow. Cartuli seamlessly integrates with your web browsing experience.This goes without saying but you can also ask questions to ChatGPT just using your voice through Cartuli

Intellij Idea Integration

Cartuli integrates with Intellij Idea, the powerful IDE. But here's the kicker: you can control Cartuli with your own voice! No more clicking or typing—just speak up, and Cartuli will be at your service. Need to run tests? Just say it. Want to execute actions? Voice it out. Interacting with your project is as easy as having a conversation. Finally, you can code with your feet on your desk, while Cartuli takes care of the rest. Cartuli and Intellij Idea: a perfect match for a hands-free coding adventure!

Configurable Windows Notifications

Stay informed and up-to-date with Cartuli's configurable Windows notifications. Receive feedback, updates, and reminders right on your desktop. Customize your notifications to suit your preferences and never miss an important event. Don't forget the floating memes!

Real Resource Utilization

Unlike other AI assistants, such as Cortana, Google Assistant, Siri, or JARVIS, Cartuli is designed to utilize your machine resources. It works harmoniously with your system, allowing you to focus on your tasks without any slowdowns or disruptions.

    🤷‍♂️User: Cortana, open youtube, play some rap!
    🤖CORTANA: Say what, say what?
    🤓CARTULI: Yes, my liege

On-the-fly Configurable Personalities

Cartuli isn't just any AI assistant, it's a shape-shifter of personalities! Want Cartuli to channel the spirit of Donald Trump, delivering answers that are "tremendous" and "unbelievable"? No problem! Craving Elvish or Shakespearean responses? Consider it done, thou artless tardy-gaited scut!

Getting Started

  1. Install the latest version of Windows 11 on your machine.
  2. Set up your Elgato Stream Deck and ensure it is connected to your system (OPTIONAL).
  3. Clone the Cartuli repository to your local machine.
  4. Install the required Python packages by running pip install -r requirements.txt (YOU WILL HAVE TO INSTALL THEM MANUALLY).
  5. Configure your Elgato Stream Deck with the desired commands and actions.
  6. Run the Cartuli script and enjoy the power of real automation!

Dissection

In the development of Cartuli, we have carefully chosen the tools and libraries that power its functionality. Let's take a closer look at the architectural components:

👂Ears: Python SpeechRecognition

For speech recognition capabilities, we rely on the powerful Python library called SpeechRecognition. It's a versatile and reliable tool that allows Cartuli to listen and understand your voice commands surprisingly well. With SpeechRecognition, Cartuli can accurately capture your instructions and initiate the corresponding actions.

🧠Brain: Spacy for Text Classification

Spacy is our go-to library for text recognition and understanding. With its advanced natural language processing capabilities, Cartuli's brain can analyze and comprehend your commands and queries. Spacy enables Cartuli to extract meaningful information from the text, empowering it to perform the right actions based on your input.

👄Mouth: Plyer for Windows Notifications

To provide you with timely feedback and updates, Cartuli utilizes the Plyer library for displaying Windows notifications. Plyer allows Cartuli to deliver important information, reminders, and notifications right on your desktop. Whether it's completion notifications, task updates, or simply a friendly message, Cartuli's mouth ensures that you stay informed and connected.

👌Hands: Pygetwindow for Windows Control

For seamless control over Windows applications, we rely on the Pygetwindow library. Pygetwindow enables Cartuli to interact with and manipulate windows, allowing it to open programs, switch between applications, and perform various window-related tasks. With Pygetwindow, Cartuli takes full command of your Windows 11 environment, making your development experience even smoother.

By leveraging the capabilities of these powerful libraries, Cartuli achieves a robust and efficient architecture that enables seamless interaction, understanding, and communication. Together, they form the foundation of Cartuli's intelligence and assistive capabilities, making it a reliable and enjoyable AI Assistant for your Windows 11 environment.

Voice Commands

Cartuli is designed to understand and execute a set of commands to perform various actions. Here are some of the commands that Cartuli is intended to support:

  • open: Open a specific program or application.
  • type: Simulate typing characters or text.
  • search: Perform a search operation in the terminal.
  • play: Open the music player application.
  • run: Execute a specific script or program.
  • chatGPT: Initiate a conversation with ChatGPT, the powerful language model.

By utilizing this set of commands, Cartuli provides a user-friendly and efficient interface for executing various tasks and automating daily development chores. With just a simply voice keyword command, Cartuli will swiftly carry out your instructions, making your coding experience more enjoyable and productive.

Contributing

We welcome contributions from the community to make Cartuli even better. If you have any ideas, bug fixes, or feature suggestions, please submit a pull request or open an issue on our GitHub repository.

License

Cartuli is released under the MIT License.

Acknowledgements

We would like to express our gratitude to the open-source community for their valuable contributions and support in making Cartuli a reality.

Join us on this exciting journey with Cartuli, your actually helpful AI Assistant for Windows 11. Let's automate and streamline our daily development chores like never before! 🚀🤖🤓

Disclaimer

Cartuli - AI Assistant

Please note that Cartuli is a work in progress and may contain bugs or errors. The code and accompanying files provided in this repository are for informational and educational purposes only. We, the creators of Cartuli, cannot guarantee the accuracy, reliability, or effectiveness of the code and disclaim any responsibility for any damage, loss, or negative impact that may arise from the use of this code.

Using Cartuli or any part of its codebase is at your own risk. We strongly recommend reviewing and testing the code thoroughly before using it in any critical or production environment. Additionally, exercise caution and ensure you have appropriate backups and safeguards in place to prevent any unintended consequences or data loss.

Please be aware that as Cartuli is continuously being developed and improved, the code and functionalities may change over time. We encourage contributions, suggestions, and bug reports from the community to help make Cartuli more robust and reliable.

Remember to use Cartuli responsibly and comply with all applicable laws and regulations. We disclaim any liability for any misuse, unethical or illegal activities carried out using Cartuli.

Thank you for your understanding and collaboration in making Cartuli a better AI assistant.

I Want You!

Join Us in Developing Cartuli - The Actually Helpful AI Assistant

Uncle Sam

We are on a mission to create the best AI Assistant in the world, and we need your help to make it happen! At Cartuli, we believe in empowering developers to code from the bed, the couch, or wherever they desire, with the most incredible AI Assistant ever created.

We are looking for talented and enthusiastic developers to join our ranks and contribute to the development of Cartuli. With your expertise and passion, we can make Cartuli shamelessly better than Cortana, Siri, Google Assistant, and even Microsoft Jarvis!

Imagine a world where developers have a powerful and intuitive AI Assistant that understands their needs, executes tasks flawlessly, and brings joy to their coding experience. Together, we can revolutionize the way developers work and bring Cartuli to every coder's workstation.

If you are ready to embark on this exciting journey and be a part of the Cartuli revolution, join our team of dedicated developers. Let's create the AI Assistant that will make coding dreams come true, so developers can code from the bed finally!

Are you up for the challenge? Join us now!

Current State of Affairs

Cartuli AI Assistant is here, ready to make your life easier and more productive than ever before!

Feature 1: Seamless Windows 11 Terminal Integration

With Cartuli AI Assistant, you can now unleash the power of your Windows 11 default terminal with just the press of a button!

Simply press the number a key on your keyboard/elgato Stream Deck, and Cartuli will eagerly be listening to your commands.

Don't worry if you're not sure what to say! or if he does not understand you, after few seconds you will be able to enter the command manually.

Feature 2: Refactor code automagically

Introducing Cartuli, the AI assistant that's actually useful! With a simple voice command like "Cartuli location target_folder," Cartuli scans the folder, hashes file content, sends it to ChatGPT, creates a Git patch for easy review, saves file hashes in long-term memory, and estimates token count. Experience productivity and joy with Cartuli, your coding companion!

Interest Links

https://platform.openai.com/docs/api-reference/completions/create

https://www.youtube.com/watch?v=dIUTsFT2MeQ

https://www.youtube.com/watch?v=Qos2rG3zVAM

https://openai.com/pricing#language-models

Setting up the OPENAI_API_KEY environment variable

To use this project, you'll need to set up an environment variable called OPENAI_API_KEY. This is a secret API key provided by OpenAI that's required to access their APIs.

Here's how you can obtain your OPENAI_API_KEY:

  1. Visit the OpenAI API website.
  2. Click on the "Sign up for OpenAI" button and follow the instructions to create an account.
  3. Once you have created an account, log in to the OpenAI API website.
  4. Navigate to the "API keys" section of your account dashboard.
  5. Click on the "Generate new key" button to create a new API key.
  6. Copy the generated API key.
  7. Set the OPENAI_API_KEY environment variable in your local environment by running the following command in your terminal (replacing <YOUR_API_KEY> with your actual API key):
export OPENAI_API_KEY=<YOUR_API_KEY>

Alternatively, you can also set the OPENAI_API_KEY environment variable in a configuration file such as .env, which can be loaded by your project's code.

Once you have set up the OPENAI_API_KEY environment variable, you should be able to use the OpenAI APIs in your project.

Powered by

ChatGPT Logo Python Logo Elgato Logo WSL Logo

Image Ownership Disclaimer

The images used in this GitHub repository belong to their respective owners and are used for demonstration purposes only. I, as the creator of the AI bot Assistant named Cartuli, do not claim ownership of these images.

Copyright Notice

All visual content, including images, logos, and graphics, are the property of their respective owners. These images have been sourced from various publicly available platforms and are used solely for illustrative purposes.

If you believe that any copyrighted material has been used without proper permission or attribution, please contact me, and I will promptly address the concern.

About

Python based AI Assitant that actually is useful, integrated with ChatGPT, Intellij Idea, Elgato Stream Deck and Windows 11

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published