DEV Community

Cover image for How to create the smartest multilingual Virtual Assistant using AWS and ChatGPT

How to create the smartest multilingual Virtual Assistant using AWS and ChatGPT

Robert Garcia Ventura on December 12, 2022

Last week ChatGPT was released and everyone has been trying amazing things. I also started playing with it and wanted to try how it would integrate...
Collapse
 
maximfilimonov profile image
tpaktop

Hi,
Thanks for sharing. Was very cirios to explore this tutorial but got stuck with OpenAI implementing some restrictions on chatGPT - github.com/acheong08/ChatGPT/issue...
Looks like token doesn’t work anymore as they have quickly figured out that people started to abuse the system.

Collapse
 
rogave profile image
Robert Garcia Ventura • Edited

I just saw a new release with this problem solved is available: github.com/acheong08/ChatGPT/issue...
I will try it later on and let you know if it work for me :)

Collapse
 
maximfilimonov profile image
tpaktop

I do wonder if it’s worth to switch to official openAI API ? As far as I understand chatGPT is built on top of that isn’t it?

Collapse
 
zirkelc profile image
Chris Cook

Great and we’ll written post! You could also use OpenAI Whisper for the transcription. I posted about it recently: Transcribe YouTube Videos with OpenAI Whisper

Would be interesting to see how Amazons service performs against OpenAI’s.

Collapse
 
rogave profile image
Robert Garcia Ventura

Yes, I saw it! Also really nice article! Indeed, with Amazon Transcribe I experienced some problems with Catalan (my mother language) but with Spanish and English it does really great job!
Looking at the list of supported languages looks like OpenAI Whisper has more languages supported but Amazon Transcribe also detects the accent (e.g. English (British) or English (US)).

List of languages supported by OpenAI Whisper:
github.com/openai/whisper/blob/mai...

List of languages/accents supported by Amazon Transcribe:
docs.aws.amazon.com/transcribe/lat...

Collapse
 
oggo profile image
oggo

Hi, nice article!
Is there no better way to achieve the chatgpt token?

Collapse
 
rogave profile image
Robert Garcia Ventura

I know OpenAI has an API token you can generate from your profile but didn't tried with this token yet. Other way to authenticate is using email + password.

Collapse
 
telegramtracker profile image
Telegram Tracker

great Robert! thank for share

Collapse
 
rogave profile image
Robert Garcia Ventura

Happy that you like it :)

Collapse
 
bugrakilic profile image
Bugra Kilic

Hey Robert, thanks for sharing this post. It seems great!

Collapse
 
rogave profile image
Robert Garcia Ventura

Happy that you like it! This was my first post, currently working on the next one :)

Collapse
 
lorenz1989 profile image
lorenz1989

Display ChatGPT response alongside Google, Bing, DuckDuckGo Search results
This extension makes it possible everywhere you browse. Just install it and try it out.
https://chrome.google.com/webstore/detail/chatgpt-for-search-engine/feeonheemodpkdckaljcjogdncpiiban?hl=en-GB&authuser=0

Collapse
 
monimartin22 profile image
Moni Martin

There is an extension that can assist you in integrating ChatGPT with search engines like Google, Bing, Duckduckgo
Maybe you should try it: https://chrome.google.com/webstore/detail/chatgpt-for-search-engine/feeonheemodpkdckaljcjogdncpiiban/related?hl=en-GB&authuser=0
Image description

Collapse
 
pitterpacker profile image
Pitter Packer

Thank for sharing. I just found out about GPT and it's been helping me a lot in my work and learning. I also just discovered an extension for search engines. It's very convenient, everyone should try installing it and see how it goes. You need to log in to the main OpenAI page and use it on search engines. https://chrome.google.com/webstore/detail/chatgpt-for-search-engine/feeonheemodpkdckaljcjogdncpiiban/related?hl=en-GB&authuser=0

Image description

Collapse
 
stefan_ljuti profile image
Stefan Ristic

Hi, I made a chrom extension that convert yout speach to text for chatGPT and his response to speech you can check it here

chrome.google.com/webstore/detail/...

Collapse
 
michael7908 profile image
michael7908

Hi Robert, thanks for your great post and sharing. Just one quick question:

could you please update Line 106

config = {"email": "","session_token": chatGPT_session_token}

I tried to fulfill all these values with my ChatGPT account info including email address, the OpenAI's API key and the sesstion token based on your instruction

but the issue persists.

File "D:\chatgpt-aws-main\ChatGPT-AWS.py", line 106, in get_gpt_answer
config = {"email": "","session_token": chatGPT_session_token}
^^^^^^^^^^^^^^^^^^^^^
NameError: name 'chatGPT_session_token' is not defined

Could you please figure out how I can fix this error?Many thanks!

Collapse
 
skabba profile image
Enri Peters

These are the best kind of blog posts!

Collapse
 
heijligers profile image
B.M.R. Heijligers

Anybody aware of an implementation of this idea using Azure and whisper?
Let me know.