Chatbase support in multilanguage - chatbase

I have two questions:
1) Is chatbase support utf8 text messages? When I am sending herbrew message ,the message under the messages appears with no text (only ellipse).
2) Can I see the history beyond 30 days?
Thanks
Elad

1) Chatbase does support utf8 text, so the messages should appear in the messages table. If you email our alias, chatbase-feedback#google.com, with your API key, I can take a look at what could be happening.
2) Right now our reports are fixed at a maximum of 30 days, however we are planning on adding the ability to view date using your own time ranges within the next few months.

Related

Gmail IMAP Javamail search returns no messages where web does

I'm working on load testing a web application that sends links via email. I have a gmail account set up specifically to be the recipient for this. When generating new accounts I add a guid to the recipient email (eg. loadtest_nmndbiwpdi#gmaildomain.com). When I execute the test it will either succeed entirely or fail entirely, but failures seem to be pretty random.
Here is my search snippet:
if (!inbox.isOpen()) {
inbox.open(Folder.READ_ONLY);
}
SearchTerm toTerm = new RecipientTerm(RecipientType.TO, new InternetAddress(to));
messages = inbox.search(toTerm);
While the script is running, it executes this in a 100 iteration loop with a 3 second pause. When it's failing script output with imap debugging on repeatedly shows the following:
A4 SEARCH TO loadtest_nmndbiwpdi#gmaildomain.com ALL
* SEARCH
A4 OK SEARCH completed (Success)
But no actual result. during the period of execution, however, I can do a search in gmail for this recipient and it pops right up. Any suggestions for getting to the bottom of this?
Gmail doesn't exactly implement the IMAP spec, especially for searching. Gmail searches are always for whole words, although that shouldn't be a problem here.
You can try using the Gmail-specific support in JavaMail, e.g., the GmailRawSearchTerm class.
I implemented a local cache. I initialize it at the beginning of the load test scenario, downloading the last days messages and capturing the last messages UID (using gmail imap plugin). Any time a session looks for an email it looks in the local cache. If it's not there it sets a flag so other sessions don't overlap caching and retrieves the newest messages.
Because it was intermittent, I wanted to give it a few days. It's run perfectly for the past 4 days. I could probably go one step better and set up a listener on the folder for new mail, but for now I'm satisfied that gmail was just returning 'success' but not doing the search after so many imap searches in succession.
Thanks to all for your feedback and suggestions!

Number of text response in Dialogflow

I am new to Dialog flow and trying to build product search. So for that i have many text responses. While doing this my number of text response reached to 30.
As you can see in screenshot it reached till 30 and i didn't find any option to write another text response. So clicked on Add Message Content and added new text response. But now when i query something it gives me multiple response.
So my question is:
1) Is there any way to increase number of text response(30) size. Or it is limitation.
2) If there in no way to resolve above issue. How can i get only single response as it is giving me two response from both text response
Text responses are available in all platforms.
Limitation-1: Your agent can send up to 10 sequential text messages in response to a user input (assuming no other message types are defined in the intent).
Limitation-2: You can add 30 variations to each text message response.
So, the answer to your question, there's no way, you can exceed this limit either in Standard or Enterprise edition. Secondly, what you're doing is adding a number of text messages when you reached a limit (30) while adding variations. You can resolve this issue either by deleting number of text messages or by creating different intents for different responses.
When you add variations, api.ai will randomly choose any one of those 30 responses written by you & show it to a user. You have multiple such text messages & so api.ai randomly chooses one response from each text message & so you're getting multiple responses. Hope this helps.
You shouldn't try everything in one single intent. Break into multiple to avoid complex scenarios.

Outlook Printing - All Events

I recently was able to get management to stop using poorly built monthly calendar DOC files and to start using SharePoint calendars to keep try of events and so forth. Gives them searchable records and allows me to do actual programming based on events and injecting events into SharePoint programmatically when needed.
The problem is that they dont have a good way to print events because the print function from the browser is garbage. But when you link the calendar to Outlook it is well formatted but if a day has more than 4 events it just adds "X more events" below. Thus making the events hidden from a printed copy.
Do you have a suggestion for management being able to print monthly view calendars and show all events on a busy calendar?
Thanks!
The Calendar Printing Assistant might help you here. Its an official addon for Outlook that specializes in printing your calendar in Outlook.
https://www.microsoft.com/en-ca/download/details.aspx?id=16645

Twitter search for hashtags that date back almost 2 years

I am trying to retrieve all tweets with a certain #hashtag in them over a certain time period (dates 2 years back). Is there a way to automatically collect/save all the tweets concerned or the search results?
I tried scrolling down to that point, which kind of worked, but it took hours of holding the "page down-button".
Using the twitter-api, it looks like you're trying to use the search call.
The two date methods (year-month-day) are:
hashtag since:2011-05-09 - Searches for "hashtag" and sent since date "2011-05-09".
hashtag until:2011-05-09 - Searches for "hashtag" and sent before date "2011-05-09".
Using these in the GET request, you can pull as many as the api allows at once, then loop through them and save them how you wish. You haven't provided a language that you're using, so this generic information is as far as I can help with.

WATIR: how do drive outlook web access

since the emails loads dynamically how do you find a specific email that contains a button back to your site. This is like signing up at a site. Customer receives email to confirm.
Thanks for the support
BigD
OWA, bless MS's little hearts (at least in the circa 2003 version I'm looking at here) uses frames, so first of all brush up on that or you are gonna be hating life. The list of incoming messages is in a frame named 'viewer' The message summaries are contained in a table lacking any useful means to identify it that is in a div of class 'msgViewerCont" and an ID of dvContents. So to see if a message exists you want to look to see if you can find a row in that table which contains the subject you expect to see.
(be careful using ID values on OWA.. apparently nobody in the group that developed it read the part of the HTML standard that specifies that ID values are supposed to be unique.. the re-use them all over that page.)
Presuming you know the subject of the message you are about to receive, and also that you keep that mail account cleared out so that it will be the ONLY message there with that subject line, then you can check to see if it exists usng
subject = regex.new("subject you are looking for")
browser.frame(:name, 'viewer').div(:id, dvContents).table(:index, 1).row(:text, subject).exists?
to click on it use .click instead of exists.
once you've clicked it, OWA will refresh the PreviewPane iframe.. inside that iframe is another one that has the message body in it.
all those frames, are nested inside the viewer frame. welcome to nested frame hell. hope you enjoy your stay. (like I said, bone up on frames, you're in for a fun ride)

Resources