I grab some information from FAQ on UE website (there are too many words in total, so I don't want to copy and paste them all, just grab some to test the chatbot), and feed it to my ChatGPT, and it can answer the questions.
You will not find any similar codes on the internet, most example codes only implement the first round of dialog, so can not remember the previous conversation, and use the information later on.
Even the exisiting product separate frontend and backend in different projects, whereas I build the full-stack under a full-stack framework under the same repo.
Image Not ShowingPossible Reasons
The image was uploaded to a note which you don't have access to
The note which the image was originally uploaded to has been deleted
AI bot for the most popular bicycle-sharing system in Taiwan. Participated in frontend in Nuxt.js (only me) and backend (with another developer) in Node.js, also assigned to Product Education and Training, responsible for delivering a speech and teaching the client the concept of NLP with Dialogflow, teaching the client step-by-step built an easy project in Dialogflow.
Future work
Current existing products
Seem only avaliable on the website, haven't integrated with FB messenger or Instagram or other social media.
I haven't tested their performance, but the way the API provided is not efficient, when the dialog becomes longer, the response speed will decrease a lot.
IDLE fucntion
Other ways to improve the speed?
Summarize the previous dialog
Use fine-tuning service from OpenAI
Pre-train data is fixed, maybe we can save the questions from the customers
Can feed the chatbot more information related to these questions.
Get to know some questions that are not in FAQ yet, and can add them later.
Understand the tendency of questions people are more likely to ask, so our university can provide more relevant info in the future.
Ethical consideration
ChatGPT and Bard comaprison => I failed
Gemini (formerly Bard) doesn't offer any official JavaScript libraries for API integration.
I tried an unofficial library bard-ai, but it doesn't work, also the way it uses is kind of illegal.
Copy and paste from cookie in the browser to get the key, and only valid for 20 mins.
What I did these days, rebuild all the services we need on AWS and others (Cloudflare as CDN, Godaddy, Ubuntu, Nginx, SSL, etc).
For some reason, the previous structure was messy, so I decided to rebuild it.
They separated all services under 3 cloud accounts in the past.
They had previously 15 servers, I use 1 EC2, 1 RDS, and 1 S3 bucket to do the same work. Estimate to cost down more than 50% at cloud service bill afterwards.
I built only the service we needed from zero all under 1 AWS account.
I once worked as an AWS and frontend consultant for 2 weeks 3 years ago in Taiwan. (The contract is 8 hours in 2 weeks for about 287 EUR.)
S3 usage as cloud storage space, not hosting space, but connects to DNS.
The videos on YouTube, only people who use S3 as hosting space will connect to DNS, haven't seen people uses S3 as pure cloud storage and still connect to DNS. But I did it.
Most people rely on SSH terminal to connect to the Linux server and can only use the command line to manipulate the server, whereas I also use RDP, we can connect to the Linux server with the remote desktop connection app in the Windows system. Just modify the firewall setting to allow your IP.