Skip to content

Oussamahamani/Hi-Sarah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


sarah-icon
HiSarah!

Chat with the smartest chatbot

Try it Here

Key FeaturesHow does HiSarah workUnresolved issues and bugsCredits

Key Features

  • Smart
    • Sarah can talk with you in any topic, and can converse like a human.
  • Lasting Memory
    • Sarah remembers everything you tell her like your name, interests, and other stuff.
    • Sarah also remember the last time you talked, so when you visit the page again she tells it has been this long since you last talked.
  • Dynamic language change
    • Unlike other apps where you have to change the language in settings, just talk in any language and Sarah will undertand you and answer in the same language.
  • Multi language support
    • Sarah can talk in a record 104 languages more than siri and alexa combined.
  • Sarah voice
    • Sarah can speak like a human by clicking at the messages
  • Voice to chat
    • Sarah can also listen to you, click at the microphone, speak and sarah will understand you.
    • this feature is supported only on chrome
  • Mobile friendly
    • you can talk with sarah both on your laptop and phone.

How does HiSarah work

  • Sarah is created by using brainshop api. When a user sends a message, the website fetches the message to brainshop api and it then shows the response back to the user.
  • Dynamic language change
    • the translation is not a feature from brainshop, the translation feature is done by using a second api for translation
    • when a user writes a message, the message get fetched to the translator api, the api detects the languages and then translates the message to english, then the english translation get sent to brainshop api. after that the website checks what was the original language of the message, if it was english, it renders Sarah response in the screen and shows to the user, if it was in another language, the translator api get called again but this time, it translate Sarah response to the original language of the user message, then the website after receiving response, shows it it to the user.
  • Sarah voice is done by using npm package react speech kit
  • Voice to chat is done by using npm package react-speech-recognition

Unresolved issues and bugs

  • Sometimes Sarah take too long to answer or does not answer at all.
  • Speech to text feature only works only on chrome.
  • If you click at the message you will hear a male voice instead of female. This happens only if you use chrome.
  • Sarah forget the stuff you tell her after a day.
  • Sarah Sometimes mistakes the languages that the user is using.

Credits

HI Sarah used the following packages and services:

About

Talk with Sarah, the best AI friend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published