Skip to content
/ Wizard Public

Browser extension that uses AI to assist you with your daily life and helps save you time.

Notifications You must be signed in to change notification settings

7adidaz/Wizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wizard AI is an AI assistant that helps save your time.

Full demo:

extension.mp4

Summarizing a video demo:

video.mp4

Summarizing an article demo:

article.mp4

Replying to an Email demo:

email.mp4

Summarizing a text demo:

text.mp4

Explaining something demo:

explain.mp4

How to install the extension?

installing.mp4
  1. Downloads the extension from the extension folder
  2. Go to the extension manager in your browser
  3. Enable Developer mode
  4. Choose Load unpacked
  5. Choose the downloaded folder as the extension directory

What is the best way to use the extension?

  • Don't try to summarize videos longer than 20 minutes (it will just make you wait, then respond with an error!).
  • Article summary only works for websites with the <article> tag (we extract the article from the tag and its children).
  • For all text-related services, please don't try to put text that is longer than 2500 characters, it will just reject the request!

Technologies & Packages used:

  • Node.js
    • Mindsdb-js-sdk
    • Node-cache
    • Mongoose (YES! We cache YouTube videos' summaries)
    • Node-html-parser
    • Youtube-transcript
    • Jest
  • React
    • Axios
    • Chrome API
    • Mantine

How do you duplicate the server?

  1. Make an MindsDB demo Account
  2. Run this SQL command, but! change the model's name with the corresponding prompt template.
CREATE MODEL -- ADD A MODlE NAME FROM THE TABLE
PREDICT highlights
USING
    engine = 'openai',
    -- prompt_template = 'CHANGE THIS WITH prompt_template FROM THE TABLE'
model_name prompt_tamplate
email_reply_new ' From input message -finishes with a set of 5 colons-: {{body}} ::::: In less than 500 characters, write an email response in the following format: Start with a proper salutation and respond with a short message in a casual tone, and sign the email with my name: {{name}}'
explain_model 'Explain this text text:{{text}}. in these than 500 words, using full sentences'
text_summarization_model 'provide an informative summary of the text text:{{article}} using full sentences'
text_summarization_model_compine ' Given two summarizations of the same article each part corresponds to two parts of the article, part 1 and part 2, combine the two parts summarization into one summarization. part 1:{{part1}}, part 2:{{part2}} using full sentences'
video_summarization_model ' Given a transcript of a video, provide an informative summary of the text:{{article}} using full sentences'
video_summarization_model_compine ' given two summarizations of a video transcript where each part corresponds to two parts of the same video, part 1 and part 2, combine the two parts summarization into one summarization. part 1:{{part1}}, part 2:{{part2}} using full sentences'
  1. Add .env file to the server directory
  2. Add the environment variables such as MindsDB_EMAIL and MindsDB_PASSWORD to the .env file
  3. Use this tutorial to connect your mongo and add your MONGODB_URI to the .env file; for the mongo to work as cashe :).

Now the .env file should look like this:

# .env file
MONGODB_URI="mongodb+srv://YOUR_NAME:[email protected]/extension"
MindsDB_EMAIL="YOUR_MINDSDB_EMAIL"
MindsDB_PASSWORD="YOUR_MINDSDB_PASSWORD"
  1. Change the .env file in the extension_source to have your api's link.
  2. Voila! it works!

This project was for a hackathon conducted by the amazing people in MindDB

About

Browser extension that uses AI to assist you with your daily life and helps save you time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published