How to integrate OpenAI Assistants with Botpress - Step by Step Tutorial

  Рет қаралды 5,384

Show Me The Data

Show Me The Data

Күн бұрын

Пікірлер: 51
@nicoschwer9978
@nicoschwer9978 11 ай бұрын
Great Video! Exactly what i was looking for! Please make more of these Videos
@show-me-the-data
@show-me-the-data 11 ай бұрын
I'm glad you found it useful :) May I ask what you mean specifically by "these videos"?
@datavisum
@datavisum 10 ай бұрын
Amazing value delivered in under 20 minutes - Thank you and congratulations for the great content and instructions! I wish every instruction video on KZbin had that same kind of quality.
@henricatavi7657
@henricatavi7657 4 ай бұрын
Your video was so great, thanks for sharing your knowledge with us!! thanks from Guatemala
@lcparreira
@lcparreira 4 ай бұрын
Thank you so much for sharing this. It has been extremely helpful!! Nicely done!
@hunor6
@hunor6 9 ай бұрын
Exactly what I was looking for. Thank you brother!
@show-me-the-data
@show-me-the-data 8 ай бұрын
Glad I could help!
@ukaszszydlik2579
@ukaszszydlik2579 8 ай бұрын
This is great. I found you chanel just today, automatic subscribe!
@nojaos
@nojaos 5 ай бұрын
Hi!! Excellent video. Thanks a lot. It works perfectly. I have a question: I want to add a node with a "Single Choice" card between the Start button and node containing the "index" workflow, so that users choose chat with the Assistant or filling additional contact information that will be inserted into a table. I’ve tried this, but the Assistant enters a loop and doesn't move past the greeting; it doesn't respond to new questions. Thank you for your help.
@kristilaishari3590
@kristilaishari3590 8 ай бұрын
This was very helpful.. Thank you so much
@saambavimedia
@saambavimedia 3 ай бұрын
Brilliant!
@historiasdesoftware
@historiasdesoftware 6 ай бұрын
Excellent!
@billennis5032
@billennis5032 4 ай бұрын
What programming language is that in the execute tasks? Are other languages also supported?
@DouglasCamargoLeal
@DouglasCamargoLeal 9 ай бұрын
Wow! Borna, thank you for the great explanation, rich in details!! Have you updated this template for use with OpenAI Assistant v2?
@show-me-the-data
@show-me-the-data 9 ай бұрын
No, however there's nothing here in this basic flow that uses the v2 features!
@show-me-the-data
@show-me-the-data 8 ай бұрын
Hey I just updated the details so it works with v2 out of the box!
@NoamHuri-g7h
@NoamHuri-g7h 8 ай бұрын
Hi, your guide is great! I've noticed Botpress tends to echo what I'm typing instead of giving an answer directly from the AI assistant. Any ideas why it's doing that?
@show-me-the-data
@show-me-the-data 8 ай бұрын
Ah I think I see what's happening. One of the variables used in the response is essentially outputting "the last message" (event.preview) cause it assumes the bot successfully responds to the user utterance. If something goes wrong with the API call for some reason, you would see this behaviour, for example if the OpenAI API is down for some time... I could improve the design for a future iteration
@fanglee4079
@fanglee4079 8 ай бұрын
Hello Sir , thanks for your sharing , please help me where are your last video talking about the assistant api you mention at begging of this video , thanks
@show-me-the-data
@show-me-the-data 8 ай бұрын
Hi Fang! Here's the last youtube video I was referring to: kzbin.info/www/bejne/n5m1nXadqLmFaJIsi=kObiSOr3pvOPynVV
@N-kf5nx
@N-kf5nx 9 ай бұрын
I saw your comment in Matthew Berman's video on the Vertex AI agent builder. I'm curious if you'd be able to make a video (or point me to a good documentation) explaining how to use the Function Tools with a Dialogflow Messenger integration. I have not yet seen any test case of it working... I know it's a preview feature and maybe that's why, but from your comment I thought maybe you'd know how to. Anyways thanks for the video, might need to use OpenAI for the time being, thanks!
@show-me-the-data
@show-me-the-data 9 ай бұрын
I don't have as much bandwidth these days to build a full tutorial, but I think what you're looking for is this documentation page > cloud.google.com/dialogflow/vertex/docs/concept/tools#function
@javierhiga
@javierhiga 7 ай бұрын
Why do i get good answers when i ask something to the assistant through the openai playground, and get terrible answers when i ask the same question to the same assistant but through botpress?
@padapasta
@padapasta 9 ай бұрын
Amazing dude! 👏 Does it possible with voiceflow?
@show-me-the-data
@show-me-the-data 9 ай бұрын
Absolutely. Same concept applies and may even be easier can you can use the functions feature for your various calls and it won't look as messy as botpress!
@AdiWibowoOctavianto
@AdiWibowoOctavianto 11 ай бұрын
Thak you for the tutorial. Is there any cost that we should consider with this method?
@show-me-the-data
@show-me-the-data 10 ай бұрын
Depends on the model. You actually end up not using AI credits from botpress cause you're using OpenAI instead, so savings there, but OpenAI is not that cheap. I recommend using GPT 3.5 turbo for your assistant model unless it's not meeting your needs
@louismathews6831
@louismathews6831 10 ай бұрын
thank you for the video! maybe you can help us customise the apearance of the chat window., where are those settings.
@show-me-the-data
@show-me-the-data 10 ай бұрын
You can edit the CSS manually or using the styler web app! styler.botpress.app/ You can just supply that CSS url to your botpress bot in the settings
@theknowledgejar
@theknowledgejar 6 ай бұрын
I think the botpress interface has changed, the template does not work.
@BotFDR
@BotFDR 10 ай бұрын
Cool concept but seems like you have to put every callable function inside this "execute code". It's going to get big fast. How do you manage this?
@show-me-the-data
@show-me-the-data 10 ай бұрын
You're right. Botpress doesn't have a "function definition" feature (like Voiceflow does), but 1 workaround is to define global functions in the hooks sections by setting the function as a bot variable (upon every message received, lol). I'm fairly certain they're working on a better way around this though.
@ABHISHEKSHARMA-fo4tf
@ABHISHEKSHARMA-fo4tf 2 ай бұрын
How i can integrate the openai with botpress with also passing the system prompt and user query , i cannot get the resources, every video and most of content using inbuilt AI of botpress but i want to using the openai via api like you have to do with the execute the code , i want to used my open api key , can you please help me something , how i can use this ?
@show-me-the-data
@show-me-the-data 2 ай бұрын
You can set the OPENAI API key as a bot variable, then you make a simple fetch call to the API and return the value from the response. If you pass the "curl" command to Chatgpt it should help you write the code necessary to do that: platform.openai.com/docs/api-reference/chat?lang=curl
@hanzo_process
@hanzo_process 10 ай бұрын
cool !!
@RicardoIllescas-ih5vg
@RicardoIllescas-ih5vg 9 ай бұрын
Hi, thanks for the video it was very useful. Could you help me please? The first message I send works perfectly, but if I want to establish a conversation I get an error. I added a raw input n the main, right before the index flow in the same node as the index. If I take the input out, I can’t even send the first message to the thread
@show-me-the-data
@show-me-the-data 9 ай бұрын
It seems like it can't find the thread. Are you using the emulator? If so, just reset the session and a new conversation ID will be assigned
@Lizzie545
@Lizzie545 9 ай бұрын
Hey! So i quick question. I have set up a "hi hello welcome" then i am running this flow to answer questions. It alwasy reverts to the "hi hello welcome" and doesnt keep looping the conversation. Is there any way to say "hi hello welcome" if a thread doesnt exist, and if it does - to skip that bit?
@show-me-the-data
@show-me-the-data 9 ай бұрын
You can use transitions to check the thread variable (if it doesn't exists, say hello and create a new thread, otherwise continue). It seems like either you have your hello logic before the threads are checked or you're failing to fetch the threads, and it's starting over. Follow the logic from the index, through to where the message is being posted to the API. It should look for a thread ID locally, if it finds one, setting the associated OpenAI thread, then continuing the conversation using that thread ID. If you're not seeing that, you need to look at the event log row by row to see where the logic is thrown off.
@Lizzie545
@Lizzie545 8 ай бұрын
@@show-me-the-data Thank you! I was wondering if you had a version that can use GPT4o?
@erpr1977
@erpr1977 8 ай бұрын
I have successfully used your template. But, I am facing a problem. I have defined a function in OpenAi assistant. Very simple. Ask for username and email. But I cannot pass those variables to botpress although they are also defined there 😢
@show-me-the-data
@show-me-the-data 8 ай бұрын
Did you add the newly defined functions to the registration JSON object in the code after defining the functions?
@erpr1977
@erpr1977 8 ай бұрын
@@show-me-the-data perhaps I am asking too much, but could you explain what do you mean? please :). I am very new at this, and any help is more than welcomed. Would you be able to make a small video about this (perhaps) silly question?
@Ialatamuno
@Ialatamuno 2 ай бұрын
tengo un consulta que en todos los canales de youtube no me responden, quiero saber si puedes hacer un asistente de reserva de citas con lenguaje 100% natural.
@Ialatamuno
@Ialatamuno 2 ай бұрын
porfavor si puedes te lo agradeceria un monton. porque no me sale aun.
@show-me-the-data
@show-me-the-data 2 ай бұрын
Claro, es totalmente posible. Si estás usando asistentes de OpenAI, necesitas habilitar 2 funciones/tools para tu asistente. Una para verificar la disponibilidad en un rango de fechas determinado, y otra para realizar la reserva. Con esas dos herramientas, el asistente de OpenAI sabrá cuándo llamar a cada una y te proporcionará los datos necesarios para esas funciones, que luego puedes ejecutar, ya sea en código de Botpress o a través de un endpoint alojado en tu propio servidor privado. El resultado se pasa de vuelta a OpenAI y la conversación continúa. Te sugiero que leas la documentación de la plataforma de OpenAI sobre el uso de herramientas y cómo funciona el asistente en general: platform.openai.com/docs/assistants/quickstart
@Zaraki-vw5mk
@Zaraki-vw5mk 11 ай бұрын
Why using OpenAI Assistant if Botpress use already OpenAI? And the OpenAI Assistant is build from GPT3?
@show-me-the-data
@show-me-the-data 11 ай бұрын
Good question. If you go with the built-in LLM, you have to program the conversation flow manually and do your own retrieval on documents, not to mention you can't do LLM driven code based analysis that assistants can. With assistants you can say something as simple as "act like Snoop Dogg" and you're off to the races; no need for conversation design. Add your own files to the assistant and now you got a pretty powerful RAG agent that's way better than botpress built on one
@KnightsOwl817
@KnightsOwl817 10 ай бұрын
How do you display charts in botpress from OpenAI?
@show-me-the-data
@show-me-the-data 10 ай бұрын
Markdown works I believe. You need to extract the image url first from the run step and structure it as markdown in a workflow variable and then display it
@KnightsOwl817
@KnightsOwl817 10 ай бұрын
@@show-me-the-data that is the problem, I can't get the url, the image in openai is can't not be displayed, all I could get back is the content of the image
OpenAI Assistants API - Course for Beginners
3:32:55
freeCodeCamp.org
Рет қаралды 645 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Easiest Way to Connect AI Chatbots to WhatsApp
26:42
Dave Ebbelaar
Рет қаралды 49 М.
Automate EVERYTHING Through ChatGPT ✨
29:13
No-Code Ireland
Рет қаралды 42 М.
Building a Client's $3,500 AI Chatbot LIVE
36:54
Liam Ottley
Рет қаралды 404 М.
What's new in OpenAI Assistants API v2? Changes to Cost, Quality, and Speed
14:01
Your Favorite YouTuber as a Chatbot?  LangChain RAG tutorial
35:47
Show Me The Data
Рет қаралды 704
Botpress AI Tutorial: ChatBot Development For Beginners
30:41
HustleMedia
Рет қаралды 9 М.
FREE AI Chatbot Builder! How to Use Botpress Chatbot Tutorial for Beginners
12:07