Does anyone know if you can auto migrate from Dial...
# 🌎general
f
Does anyone know if you can auto migrate from Dialogflow to Botpress? Aside from manually using the API of course. I have ten internet points for anyone with a definitive answer! (Points cannot be redeemed for cash value. Terms and Conditions apply) 🤪
e
Hey @faint-fountain-86213, that would come in handy right haha? Unfortunately since both platforms infrastructure is so different, it's no possible to do that.
I had a Dialogflow CX bot that I migrated manually to Boptress, it took me a few hours only! I mostly considered just the flow logic, because the nodes and cards won't be the same. It's really a rebuild
f
Thanks for the response!
@early-train-33247 I see the API says "It can be used to create and manage bots, handle conversations and messages, as well as to manage their content, users, and configuration." but I am looking at how I can add Intents (Library in GUI) and add Responses (Explorer -> Send Messages). Is this supported now or planned for the future? I can't seem to find it in the documentation (unless it is called something I am overlooking?). Cheers!
e
Hey @faint-fountain-86213, you can use the API to send messages of all kinds!
But I am afraid you can't create and manage intents yet. Why do you need it?
f
@early-train-33247 Client wants to transfer existing Intents and Responses from Dialogflow ES to BotPress. Impressed with BotPress as a platform and is looking into using it as the main Chatbot.
e
They can use the same intents if they like, but Botpress doesn't rely as much on intents
You can use a simple AI task to replace dozens of intents each with its training phrases and answers
a
Cheers 🙂
f
<- What he said 😉
@early-train-33247 When you say I can use the API, is this true for Bots made in Botpress Studio? I am trying to follow the documentation, but it's a bit bare for my experience level. Maybe I am confused and it's meant for Integrations like WhatsApp ("'Tags' doesn't link to anything. Says follow documentation for elsewhere). Really all I am trying to do (right now) is send messages to the Bot from a Python program to batch test the responses are what are expected. I can only find the PAT, but not Bot Token or Integration Token. I am struggling to understand where in the payload the message goes. There's also an issue with understanding 'Tags' as stated above. Here is where I am reading from: https://botpress.com/docs/api-documentation/#create-message Any help would be appreciated.
e
Hey @faint-fountain-86213. Yeah you can use the API to manage the Botpress Cloud bots, conversations, users an more.
For that use case, you can use the Create Message endpoint. This is how the request from a ReactJs app looks like:
You just need to know the conversation id, and the id of the bot in the conversation (different from the regular bot id) - which you can find by listing messages of a conversation and look for the userId of a outgoing message!
f
Thanks so much, @early-train-33247 ! I worked thought some issues, but your details really helped, and I was able to see specific conversation information related to my Bot. I need to send a Message TO (incoming) the Bot using the API and receive the expected Response back. When I use the ID of the Bot, it is an Outgoing ID, so it is set as an Outgoing message. I will go through the steps and try to create a User, create a Conversation, etc. to see if I can get it to let me send a question as a User (incoming). I don't want to use you as a pair programmer, I'm sure you're too busy. Just let me know if my approach is a time-waste, if you don't mind. 😀
a
For others reading this, Tags are covered here: https://botpress.com/docs/integration/concepts/tags/
Nevermind, I found a similar question in Discord and understand the issues now. For those wondering: https://discord.com/channels/1108396290624213082/1131565638612177006/1131972107937521674
7 Views