Build an LLM Chatbot For Telegram (or Whatsapp, Messenger, etc)
Ғылым және технология
I built a Tech Support GPT using ChatGPT and Botpress and then made it into a Telegram bot to help answer my family's tech questions.
UPDATE: You also need an OpenAI developer account with Usage tier 1 to make this work.
Thanks to Botpress for sponsoring this video! (botpress.co/deploy-gpt-extension)
Enjoy :)
Join My Newsletter for Regular AI Updates 👇🏼
www.matthewberman.com
Need AI Consulting? ✅
forwardfuture.ai/
Rent a GPU (MassedCompute) 🚀
bit.ly/matthew-berman-youtube
USE CODE "MatthewBerman" for 50% discount
My Links 🔗
👉🏻 Subscribe: / @matthew_berman
👉🏻 Twitter: / matthewberman
👉🏻 Discord: / discord
👉🏻 Patreon: / matthewberman
Media/Sponsorship Inquiries 📈
bit.ly/44TC45V
Links:
Botpress - hubs.la/Q02dP6-v0
Chrome Extension - botpress.co/deploy-gpt-extension
Пікірлер: 77
We love the use case, Matt! Hope this chatbot will help your parents ;)
No more drama in the family for neglecting someone. Give this man the Nobel Peace prize.
Awesome 😃 Just wait until your parents get so technically proficient that they make their own GPT to answer back all of those "Dad, please can I borrow $5000?" messages 😂
@w.2550
6 ай бұрын
Did you write it with chatgpt?
Thanks for the video Matt. The 'Deploy GPT Extension' you used in this video doesn't actually deploy the Custom GPT. It appears to create an 'Assistants' API. Their behaviour is very different to each other and won't give the same result. Not only that, it defaults the model to gpt-3.5-turbo. This isn't actually deploying a custom GPT as the video suggests. Happy to be corrected.
Nice video. Will be great if you make one using local LLMs such as Mistral or Mixtral.
@mirek190
6 ай бұрын
Exactly!
@Thatindianguy.
4 ай бұрын
Anyone done this yet?
Great video matt, but if they used assistant API with gpt-4 the cost will be so high, just pay them a chatgpt sub for 20$ a month is way cheaper.
@ayoubbenjaafar9994
4 ай бұрын
i'm agree, is there any way to integrate chatgpt bot into external platforms without using API method?
@ghattassalloum9908
4 ай бұрын
you can use openai api just do not use assistant api, as you have no control on spending, i have have build my own api similar to openai assistent api, it do the same job but with way less token usage, keep in mind they want you to use more tokens.
This seems very similar to the uc berkly paper and code “prompt to model” you give a few examples and then the model generates a dataset and trains it self, almost as good as the unreleased self training code and paper from google. Where it goes to the internet finds information makes a dataset and trains it self to get smarter at tasks
Great use case :) Matthew as always find some interesting content!
Excellent early use case. Thank you for sharing, Matthew.
Haven't seen the entire video yet - only the intro about making a bot to help them. Can't stop thinking that my family don't ask for "help" but "please fix this for me so I don't have to understand what's the problem " 😂😂 so guessing the bot isn't gonna solve my problem 😂
I love this video. Super useful and a great use case.
Hey Matt, love the channel!! Will you consider making a video for educators? Here's the use case: an assistant that uses the open ai vision API to pass intermittent screenshots of a student's handwriting from their webcam. The assistant would then act like a tutor and give feedback as they work. I teach high school math and this could be a game-changer. I totally understand if you can't do it though.
Oh my... what a brilliant video topic! I have got to get this working!!! I _don't_ love helping them with all their tech help... hell I don't even like doing my own tech support.
@matthew_berman
6 ай бұрын
Glad it was helpful!
Please more open-source material Thanks for your great work
For a minute, I thought the Japanese one's were all going to be PlayStation buttons.🤣
Hi Matthew, thanks for the video! I have a question, Is there any easy way like a function call snippet to automate it? Here Botpress does it, but if the sole use is this, they would be expensive, similar to Zapier.. I had a suggestion and a kind request, you can make a video with some most used templates of Openai Functions. There is almost nothing on Git or else. Even something as simple as adding a browser to the Asistant via Function Call.. Thank you a lot!
Curious as to whether open source LLMs can be used also for Botpress ?
Thanks, Matt. Brilliant share. 👏
@matthew_berman
6 ай бұрын
Glad you enjoyed it!
great video - thank you:)
Hi Matt! Thanks for this workaround. I'm guessing we get charged via the API for the usage of the Bot outside chatGPT+ right?
@matthew_berman
6 ай бұрын
Yes
Would be awesome if the next series of videos only used open source no open ai. Unless of course openai is the sponsor of this channel
you forgot to stress test this with telling it stories about the neighbors or back problems similar to kicking a Boston Dynamics robot
I saw the chat with docs video as well and was wondering how to create a local AI server which can hooked into a database which servers html files and use that to answer questions. e.g. there is a "Documents" table and the table has fields for content which is in html. It only needs to look at the HTML files to answer questions.
Do you always need to type “/start with Telegram or can you provide some starter questions for users ?
That was good. Thanks older Mark Normand!!
There goes the junior position for tech support 😂
@botpress @Matthew Berman Hi. Thanks for the video, but there is a problem. I've integrated the configured GPT to botpress and telegram, but it doesn't see the files I gave him to knowledge base. Is there an option to fix this and make him "know the knowledge" from GPT? thank you
AND WHAT ARE YOU SELLING US TODA? LOL
I get the feeling a cease and desist letter is coming BotPresses way soon from Open AI lol
nice video if you use it for a mouth how much do you think API cost if they use it daily
Besides the plus account what’s the expected api costs to run this bot?
@matt you should post a video of the results, lol!
isn't a tech support bot already there by default created by open ai?
I feel your pain I stopped answering the phone that worked for me.
great video, do you still have the 40 question limit per 3 hours? My parents would eat that limit up fast lol
@carstenli
6 ай бұрын
No, Botpress actually re-creates the custom GPT bot using OpenAI's Assistant API via the API key you have to enter, so you are paying a minimal fee for the pure usage of the service.
What are a couple uncensored LLM's that you recommend for a lower spec PC? like a couple Lite LLM's that perform well
@Cjak001
6 ай бұрын
For reference I have a 4070 with 12GB of VRAM, 32GB of RAM, and an SSD. I don't need super fast responses but some decent ones that could run on that would be nice, thank you.
Is it possible to train an ai on all chat texts of a person and have that ai emulate that persons personality and responces.
I have a very important question. I went through all the steps and clicked "Create the bot" in Chrome Extension and after that for an hour nothing happened, the bot creation wheel is still spinning. Is this normal and should I wait further? Or is it really created in a few seconds and I have some kind of error?
With the cost involved, I will just answer the phone calls and put them on hold...
Matt, fundamental question. How would you direct your customers (family) to use the chatBot instead of the speed-dial? :-)
@mirek190
6 ай бұрын
What ?
Is there way to create AI bot for public telegram group, not for dm only?
Does this also work for wives?
Second, What about a bot that can answer emails and make youtube videos and start videos and do bitcoin trading??
@matthew_berman
6 ай бұрын
Answering emails is something I'm thinking about!
How to make it subscription based
i want that with text-generatio-ui working...
Don’t you need GPT plus subscription to access gpts with a link?
@carstenli
6 ай бұрын
Botpress actually re-creates the custom GPT bot using OpenAI's Assistant API via the API key you have to enter, so you are paying a minimal fee for the pure usage of the service. The users would not need a Plus account.
how can we deploy this
this botpress is broken... creating a bot, the ONLY option I have is template and it just sits forever...
@matthew_berman
6 ай бұрын
You don't need to create a bot from within botpress, it should create one for you when using the chrome extension.
Getting this error: Error deploying your GPT We've been notified and will work on a fix. Please You can try again later
But can he create a chatbot to replace his parents?
No, I can create GPTs totally free. 💀
If you wanted to create, say a virtual girlfriend, how can you charge for the service?
This is the first time i relialized the danger of AI and how it could set families apart... parents might use this as an excuse to call you... don't let AI get in between!
@robertheinrich2994
6 ай бұрын
very easy fix: custom chatGPT with voice recognition and that can talk using your voice. it should fix any easy problem and listen to family members matters and give you a summary of the spoken content. then you can call back when your relative actually said something interesting.
@moralesriveraomar233
6 ай бұрын
No. I have the same problem with my family. They only talk to me when they need tech support, if they visit at all is all for tech support. They were demanding (not asking) tech support on Christmas morning, if I say no they get angry or start talking bad about me . When every interaction is out of selfishness and it became an unpaid job for me why shouldn't I treat it as a job and automate it?
Wow, that’s exactly what I was looking for. More simple can it be? Adiós programación. 😅
I would like to be wrong but the bot cannot search in his knowledge, it is only useful if you ask general questions.... It answers you with the same question
First
He cant really use GPTs with Knowledge sadly, meh