How to migrate chat data from PubNub to getstream-io - pubnub

How can I migrate my chat data (channels and messages) from PubNub to Getstream-io?
What are the import capabilities with Getstream-io?
I'm currently using PubNub for the live chat in my platform. I'd evaluating to replace it with Getstream-io chat. My current data reside in PubNub's databases.

Related

Microsoft Chat BOT with multiple BOTs integration

I am working on a requirement where we need to create a chat BOT application using Azure BOT service that takes input from the user and based on the response from the user, redirect the user to the chat bot of the particular department.
I would like some suggestions or recommendations on how this can be achieved.
The way to do this is through Bot Framework Skills. You can check for more information on https://learn.microsoft.com/en-us/azure/bot-service/skills-conceptual?view=azure-bot-service-4.0

Connect Bot to Skype and Teams

I'm currently trying to figure out Azure and the Web App Bot Resource.
I've learned that it is possible to create a Web App Bot and connect it to channels like Skype or Teams for example. Though as far as I can tell if the bot is connected to both Skype and Teams the bot in Skype has no information about what the bot in Teams is doing and vice versa.
So I wondered if it is possible to link them up somehow.
Would it be possible to write a message My Text to the bot in Skype and the bot in Teams then writes this message My Text into a Teams channel?
Might I suggest reading over some of the tutorials and documentation on the Bot Framework? It might help to have a clear idea of the related concepts, such as:
Web App Bot: A Web app bot is used to create a new full-fledged bot service that can be modified, build and deployed online.
Azure Bot Service: Azure Bot Service enables you to host intelligent, enterprise-grade bots with complete ownership and control of your data. The Microsoft Azure Bot Service helps you manage, connect, and deploy your bot across devices and popular channels. Azure Bot Service and Bot Framework provide tools to build, test, deploy, and manage intelligent bots all in one place.
Channel: A channel is a connection between the bot and communication apps. The Bot Framework Service, configured through the Azure portal, connects your bot to these channels and facilitates communication between your bot and the user.
Bot Channels Registration: A Bot Channels Registration bot service allows you to use Bot Service functionality. A registration bot lets you connect your bot to channels.
In order to have a bot that works with Skype or Teams, you need to have a bot channels registration. If you already have a bot hosted elsewhere and you would like to use the Bot Service to connect it to channels such as Skype, Twilio, Messenger etc., you will need to register your bot with the Bot Service.
Coming back to your question, you can create a Web App Bot and connect it to Skype or Teams, but neither Teams nor Skype has any information about the bot's conversation with the other channel as its channel-specific. So the bot can interact and communicate with Skype and Teams channels separately but they cannot be linked.
If the user saves the entirety of conversations in some sort of transcript storage, that could be tapped by both, then it might be possible, but not at the same time, and it would take a decent amount of code to implement.
Hope this helps!!

How to recreate the Live Chat Bot?

How can I make a chat bot like this?
https://appsource.microsoft.com/en-us/product/office/WA104381862?src=webduppage&tab=Overview
This bot can be embedded into an html. If you chat with the bot on your website the message gets to your Microsoft Teams Channel and you can reply trough Teams.
At its core, this is just a bot enabled for two Bot Framework channels at the same time - the Web Chat channel and the Microsoft Teams channel. (Note that Bot Framework channels are completely different from channels in Teams.)
The Web Channel supports controls designed to be embedded in web pages. Messages posted from the web can then be posted as proactive messages in whatever channels are configured for that purpose.

Dialog-flow Chat bot using MySQL

I am developing a Chat bot using Dialog-flow which will be based on a database that I am preferring to use MySQL. The Chat bot will send the answers on the basis of DB after querying the data.
I have created a basic chat bot with a small Database.
What should I do to develop a communication link between MySQL and the Dialog-flow or is there any Database that I can use? Help me, please.
To communicate with your database from a Dialogflow agent, you will need to use fulfillment.
Dialogflow has a fulfillment library for Node.js that you can use to start building your fulfillment code. You can see the Dialogflow GitHub for many samples of fulfillment code.
If you are using Node.js to build your fulfillment, you can integrate it with MySQL via a Node.js MySQL client such as mysqljs/mysql.

Watching hashtags with tweepy after API Update

Twitter is updating their API and by updating they mean shutting down some services such as the Streaming API.
Sadly enough, I am using these streaming APIs on my bot to watch either messages posted with a certain hashtag and messages sent by mentionning the account or commands sent by direct messages.
And I found no idea on how to migrate to the new API. Any idea ?
For now I'm using this :
mainStream = tweepy.Stream(auth=api.auth, listener= mainStreamListener())
mainStream.filter(track=[Hashtag], is_async=True)
cmdStream = tweepy.Stream(auth=api.auth, listener= cmdStreamListener())
cmdStream.userstream(is_async=True)
Only one of the two streaming APIs that you are using is currently about to be removed (user streams is being removed, filter is not, but is on Twitter's roadmap for replacement in the future).
If you are interested in how to migrate to the Account Activity API, Twitter has a migration guide here. The basic principle is that your code would need to register a webhook and subscription for the user's account activity messages, and then respond to Direct Message events (instead of the code you're currently implementing in the cmdStream section). I do not know whether the tweepy library currently has specific support for the Account Activity API.

Resources