Skip to content

RaannaKasturi/ANNA

Repository files navigation

ANNA_icon ANNA - Artificial Neural Net Assistant License: GPL v3

ChatGPT & BardAI Voice Assistant based on Python
ANNA is an innovative tool that revolutionizes the way you interact with technologies like OpenAI's GPT, Google's Bard, etc. ANNA's advanced linguistic understanding and vast knowledge, due to its integration with AI Technologies, allows it to effortlessly comprehend and respond to your voice commands. Simply speak your queries, and ANNA will swiftly provide you with accurate and relevant answers. From answering general knowledge questions to assisting with complex tasks, ANNA is your go-to source of information and support. ANNA embodies the spirit of innovation and convenience. By harnessing the power of AI Technologies and leveraging the internet's vast resources, ANNA brings a new level of intelligence and responsiveness to your fingertips. ANNA is ready to assist you on your journey, making your daily tasks easier, helping you stay informed, and keeping you company along the way. Embrace the future of voice-based assistants integrated with AI using ANNA and discover a new world of possibilities and experience the remarkable capabilities..! 🌟

Tested on Windows 7, 8, 10 & 11. Working 👍💯

AI Technologies Integrated

  • Google's Bard
  • OpenAI's GPT
  • Llama

Requirements

  1. Python 3.10.xx (I personally prefer 3.10.11)
  2. VS Code Editor (not essential, but, better if you have it)

Special Credits to

  1. Daniel Park for BardAPI

Setup

Install Python 3.10.xx

Download ANNA

  • from Releases or from Code as a Zip. here
  • unzip the downloaded zip file and rename it to ANNA (ANNA-main => ANNA)
  • Open file and copy path to file from the address bar above.

Open Command Prompt as Administrator

  • Search CMD on Wondows Search in Taskbar. On Command Prompt option, right-click & Click on Run as Administrator.
  • In Dialog Box, select Yes.

Initializing Bard API Key ⚠️ Please note that getting your token will may not be correct if you are signed into multiple Google accounts. If you are signed into multiple accounts, please open an Incognito tab and only sign into the account that has access to Bard in order to obtain the correct token.

  • Go to https://bard.google.com/.
  • Press F12 to open the developer console.
  • Application => Cookies => https://bard.google.com => __Secure-1PSID => Copy the cookie value [Including the last . (dot/character)].
  • Paste the copied Bard API Key in /.../ANNA/launch.py at line:8 in place of BARD_API_TOKEN [Including the last . (dot/character) as well].

Installing Python Libraries & ANNA Requirements (via commands)

  • open the disk in which file is downloaded by entering Disk Letter (C/D/E/F/g/ etc) folled by (:). Eg., C:\WINDOWS\system32>F:.
  • cd <PATH_TO_FOLDER> Eg., cd F:\Projects\ANNA.
  • pip install -r requirements.txt.
  • python <launch_filename>.py.

Commands

  • Say "ANNA" to start the dialogue and say it everytime you wanna ask it something or talk to it.
  • Say "Wikipedia" followed by the query to fetch information from Wikipedia.
  • Say "Search" followed by the query to search it on browser.
  • Say "Time" or "Date" to know the tim & date.
  • Say "Shut down" to stop the program.
  • Say "Log Out" to logout of the PC.

If any error encountered. Please raise an issue with the error output in the Issues tab

About

ChatGPT & BardAI Voice Assistant based on Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages