anna-assistant / anna Goto Github PK
View Code? Open in Web Editor NEWVirtual Assistant on Google Chrome :elephant:
Home Page: https://chrome.google.com/webstore/detail/anna-assistant/kmkkgdkinnjokklbfloikdbdohbiklog
License: MIT License
Virtual Assistant on Google Chrome :elephant:
Home Page: https://chrome.google.com/webstore/detail/anna-assistant/kmkkgdkinnjokklbfloikdbdohbiklog
License: MIT License
The idea is user should be able to see a floating chat at his screen all the time.
Should check for:-
Suggestions for new features to added on this thread.
User: "screenshot:
Anna: " you said screenshot"
Anna: " Do you want to crop the image?"
User: "yes"
then a crop the screen before the screenshot page opens
It is preferred to be done inside the page itself. If that is not possible and comes only when in the screenshot page which we have right now. Its also fine.
The pop up looks pretty bad.
Skills required CSS
Need a drop down menu in popup.html(settings) which will change the user speaking language.
https://github.com/Anna-Assistant/Anna/blob/master/background.js#L183
Has recognition language set to en-us for now.
you need to call speech in fulfilment and say it back in this line https://github.com/Anna-Assistant/Anna/blob/master/background.js#L189
setResponse(); --- Function can be used to say the reponse
An example of json response is given below.
{
"id": "",
"timestamp": "",
"lang": "en",
"result": {
"source": "agent",
"resolvedQuery": "how to go from Allahabad to Kanpur",
"action": "",
"actionIncomplete": false,
"parameters": {
"geo-city": [
"Allahabad",
"Kanpur"
]
},
"contexts": [],
"metadata": {
"intentId": "",
"webhookUsed": "false",
"webhookForSlotFillingUsed": "false",
"intentName": "maps"
},
"fulfillment": {
"speech": "Opening Google Maps",
"messages": [
{
"type": 0,
"speech": "Opening Google Maps"
}
]
},
"score": 1
},
"status": {
"code": 200,
"errorType": "success"
},
"sessionId": "bfc71263-9db0-4304-a825-94cfffc990c6"
}
After prolonged use of the assistant on a system,it has been found that the browser is getting slower.
Add an event using google calander .
Eg set up a meeting with Evan at 9pm tomorrow
Indent name calander
use sys.any,sys.date and sys.time
Almost all code is same, I guess it wont be that hard.
Once its done comment, ill make a seperate repo for that.
Currently, we are using content script to inject status icon on each & every webpage user visits and change status icon according to the actions performed by users.
This can further be improvised by leveraging chrome extension's Browser Action, to show current status of Anna. As, it's always available and can easily modified by using Chrome Extension's API.
We can use different Browser Action Icons, for visualizing Anna's current status, which would be better from UX perspective, as well as, for performance (as we don't need to update status on every iteration), we can use some Event Handler for that purpose. Whenever a user performs some actions, only then we need to change the Icon according to the user action.
For more information on Anna's Status, go through this Pull Request: #88 ( Issue: #78 ). If you have any better suggestion, please feel free to discuss & implement.
Note: For initial phase, it would be better to have a toggle button in Extension's Popup, so that users have flexibility in switching between both the versions (current & new).
The toggle is not functioning, so the speech recognition is not activated.
Suggest ideas
add more examples in the readme table
the examples can be seen in the how it works faq question
Keep an array of jokes and read it back to the user when indent is joke. The work in api.ai is already done
when user says "tell me a joke" , "tell a joke " ,"joke" or "make me laugh "
When push notifications come on the browser read them to the user.
Need to add a button to enable this in pop up
If an image is the browser . Anna will reverse image search what that image is using google and tell the user what that is.
Comment before doing this issue and discuss how you will solve it.
When user first installs the extension , make an interactive way to make user aware of how to use Anna.
requires:-
Add functionality more than one voice
the code is at the bottom of background.js
Addition of male voice is needed
Change the voice using the pop up is required
add functionality for
Change hot word detection metod to snowboy
https://github.com/Kitt-AI/snowboy
So user needs to give audio in the beg.
Add a voice of user in a folder named "Trigger" --> user saying hey anna
Remove this file from .gitignore
Apply this as the word detection metod for anna.
Do start recognition using webkit speech api only aftet that
Codacy badge
Issues open badge
you can suggest others also
https://www.codetriage.com/anna-assistant/anna/badges/users.svg
Can we add a .crx
file for this extension? It would help testers and developers in developing and it will also reduce the efforts which we do while loading the extension from our system.
If we have the .crx
file, then only we have to drag and drop the .crx
file in the chrome://extensions/
tab and our extension will be ready for use or testing.
Improve https://github.com/Anna-Assistant/Anna/blob/master/docs/HowItWorks.md
Increase number of examples for each part
consistent styling is required
The section help in pop up has been added.
Given a user clicks on a card on help. The function will execute without the voice command.
When user says open in safe mode. Open a new incognito tab
User says
"open in safe mode"
"safe mode"
"incognito"
"private browsing"
indent name is incognito
Users might have the voice mute or soundcard problem should know that anna is working properly but rather its a problem of the system.
One way is to show what they say in a text box in pop up
or if pop up is open and user is not speaking anything a small indicator can also work.
Other ideas are welcome
Actions which can be done via url
for example https://www.google.co.in/search?q= is the url for google search.
These can be used to add simple features for Anna.
Take screenshot of the screen when user says Anna "take screenshot" . Intent name screenshot
Eg: find good restaurants
Indent name restaurants.
May need api.ai help. Text me on zulip for that
@sys.geo-city has the value of the city
When user says "lyrics of song", a new tab should be opened with lyrics.
It should be implemented like youtube is implemented. The browser should display the lyrics not search for lyrics in some lyrics website.
Comment before starting to work on this issue.
if the user is not in a browser tab when user says "screenshot or reverse image search"
either
console gives errors like Error in response to tabs.query: TypeError: Cannot read property 'id' of undefined
Weirdly when Anna is not activated CPU usage seems to increase than when not in use .
Check shows that a function is being called unwantedly.
make a file featured.md and add the links in website of places where anna got featured
Articles where anna got featured
https://www.techypin.info/tech-updates/software-updates/free-voice-assistant-google-crome/
http://www.thewindowsclub.com/anna-assistant-voice-google-chrome
http://techpp.com/2017/11/10/anna-assistant-voice-assistant-chrome/
Make a Demo video and upload on YouTube.
Minimum duration 30 seconds
Without editing ---> medium 30 points
with ediiting --> Hard 50 points
Any number of particapants can do this.
Last few lines of background js ,change from the present robotic voice to a much more futuristic sound
post screenshot
Also go to chrome webstore and rate this extension π
Anna presently works on a speech trigger βheyβ instead it should work when a trigger like a shortcut key is pressed. Code is in background.js
This readme instruction should for beginners on how to contribute to anna.
Although hyperlink is there, but nothing is happening on clicking it.
The pop up size is too large relative to the screen size.
The settings ,help buttons also are too large
Reduce the size of pop up.
Follow up of #108.
Should contain:
How files are arranged
How to add new features
How it works
How to Install
Recognition using tts of chrome is not working in some systems.
Looking for minimal, Futuristic logo maybe with some transitions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.