Project Talk to ChatGPT - actual vocal discussion with an AI using voice recognition and text-to-speech in Chrome

Costello

Headmaster
OP
Administrator
Joined
Oct 24, 2002
Messages
14,202
Trophies
4
XP
19,718
Talk-to-ChatGPT is a Google Chrome Extension that allows users to interact with the ChatGPT AI using their voice, rather than just by typing. With this tool, users can speak to the AI and receive spoken responses, making the interaction feel more natural and conversational. This could be useful in a variety of settings where it would be helpful to have a more human-like interaction with an AI. (Note: the AI itself wrote this sentence after I explained it what my code does).



Download Chrome extension here: https://chrome.google.com/webstore/detail/talk-to-chatgpt/hodadfhfagpiemkeoliaelelfbboamlk
Full project source code, FAQ, documentation: https://github.com/C-Nedelcu/talk-to-chatgpt

I will be posting updates in this thread when new versions are made available :)
 
Last edited by Costello,

Costello

Headmaster
OP
Administrator
Joined
Oct 24, 2002
Messages
14,202
Trophies
4
XP
19,718
I have just published an update : the bot’s response is now read as it is streamed, you no longer have to wait until you receive the complete reply.

This makes for a much more natural conversation ! Much improved.

I will record new demo videos by Monday if I find the time.
 
  • Like
Reactions: SylverReZ

MokTan

New Member
Newbie
Joined
Dec 18, 2022
Messages
1
Trophies
0
Age
43
XP
15
Country
Romania
Thx. everything works fine but :
1. if you change tab ChatGPT starts listening again no matter of : PAUSE command. Please "fix" this.
2. is there any option with NO VOICE response? Just me asking question aloud and ChatGPT response only writing response with no voice
Post automatically merged:

II. After you close browser settings are not SAVED.
 
Last edited by MokTan,

Costello

Headmaster
OP
Administrator
Joined
Oct 24, 2002
Messages
14,202
Trophies
4
XP
19,718

Attachments

  • chrome-extension.zip
    64 KB · Views: 62
  • Like
Reactions: binkinator

Costello

Headmaster
OP
Administrator
Joined
Oct 24, 2002
Messages
14,202
Trophies
4
XP
19,718
Last edited by Costello,
  • Wow
Reactions: binkinator

Costello

Headmaster
OP
Administrator
Joined
Oct 24, 2002
Messages
14,202
Trophies
4
XP
19,718


V1.6 now available
Please note: extension update is still under review, playstore still lists 1.5 at the moment, should be good in a couple of days. Meanwhile you can download the zip and sideload it from the github repo.


Changes are:
- NEW: an 'autosend' option has been added (enabled by default to maintain legacy behavior), it can be disabled to send messages manually
- NEW: 'send word' option to use when autosend is disabled. Just say the word/sequence of words to send the message. Default is set to: 'send message now'
- NEW: a help popup for the extension, which shows when you click the extension icon in the browser's extension bar
- UPDATED: default voice speed set to 1.0 to avoid scrambling
- UPDATED: support for japanese/chinese punctuation
- FIXED: skip button didn't work properly after a recent update
- FIXED: javascript error message when opening ChatGPT with extension for the first time
 
  • Love
Reactions: binkinator

Costello

Headmaster
OP
Administrator
Joined
Oct 24, 2002
Messages
14,202
Trophies
4
XP
19,718
No Firefox version?
Unfortunately I tried it on Firefox (using the javascript code alone, not as an extension) but the voice/speech APIs don't work properly :(
this isn't surprising, because both text-to-speech and speech-to-text require a bit of server-side computation, Google can afford that, but Firefox doesnt have a multibillion dollar company backing it up
I'll be looking out for Firefox updates and we'll see if they eventually properly implement the APIs
 
  • Like
Reactions: JackTheHorse

tabzer

This place is a meme.
Member
Joined
Feb 15, 2019
Messages
5,844
Trophies
1
Age
39
XP
4,911
Country
Japan
This is amazing and underappreciated. I turned my TV into a genius robot. I can communicate with it in English and Japanese. Life is going warp-speed.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: how are you doing @K3Nv2