Bing Spell Check is not working in LUIS, and LUIS does not show an error message.
I'm trying to use Bing Spell Check in LUIS (online - luis.ai), but it is not working, and LUIS does not show an error message. I can call the spell check API directly with our subscription key and it works fine. I can mangle the sub's key and it shows an error, so I know spell check itself is working fine.
It does not work when called from the LUIS testing panel. I have tried valid and invalid keys, but nothing is shown in LUIS. How do I see the error(s)? Where does LUIS post those error messages?
You can test on luis.ai by including your Bing Spell Check subscription key as a session variable in the testing panel. Following these steps should get you the results you are looking for.
Open the Test panel and enter a misspelled word (e.g. "greating" instead of "greeting".
Once entered, click the "Inspect" link
Click "Compare with published"
Click the "Additional Settings" link and choose your the endpoint to test against
Check the Enable Bing Spell Check option, enter your subscription key in the input field, and click Done
Click the "Show JSON view" link to view the response, including the "alteredQuery" value housing the corrected spelling
Hope of help!
Related
I wanted my report to show the steps in detail for each test case, say,
test001() has
Login to application,
Provide Username and Password,
Click Signup button etc
Verify INbox
Verify Outbox
Verify Sent
Verify Draft.
test002()
Search with a keyword
Display result
Click on result
etc..
Similar to Allure-report test case descriptions. [See allure report screen shot below ]
enter image description here
How do I achieve this using extent report TestListener TestNG?
Appreciate your help.
Thanks
Renjith
tried getMethod(), but didnt find details to display the test body.
I am unable to do the /clear action using Google Calendar API with a secondary calendar. I get the same error using either a javascript implementation or directly from their own API explorer at https://developers.google.com/calendar/v3/reference/calendars/clear
To reproduce this, please try the following:
Create a secondary calendar using the calendar subdomain (or whatever method you prefer)
Note the ID of the calendar (looks like xxxxxxxxxxxxxxxxxxxxxxxx#group.calendar.google.com)
Go to their API Explorer for the call: https://developers.google.com/calendar/v3/reference/calendars/clear
Enter your calendar id in the field on the right labeled "calenderId".
Enable "OAuth 2", Disable "API Key".
Tap the EXECUTE button at the bottom.
I get the error 400 "Invalid Value". I've tried this on multiple unrelated accounts with the same result. This seems to be a serious flaw. Has anyone had success with the /clear endpoint for secondary calendars as specified by the calendarId?
Right at the top it clearly says "Primary Calendar", but then it seems a little nuts to also need to provide a calendar ID. sigh
I'm looking to have the information submitted on a google form to be on the email notification that I receive. I have tried several things but I can't seem to get it to work. Any ideas?
Create a new form in Google Docs, if you haven’t done that yet, add the necessary fields to the form and save your changes. Now go back to Google Docs and open the spreadsheet corresponding to that particular form.
Choose Tools > Notification rules... and select the option that says Notify me when... A user submits a form. You can also set how frequently you would like to be notified – right away or with daily digest.
Reference: https://support.google.com/docs/answer/91588
To get the notification in your email, you can refer to the this Google add-on.
Also to enable the data or responses to appear in notification you have to enter a script in the form. which basically tries to extract the columns from the spreadsheet. Sample:
var p = SpreadsheetApp.getActiveSheet();
var column = p.getRange(1,1,1,s.getLastColumn()).getValues()[0];
I hope you build the script by yourself!
I'm in a situation in which i need to be able to create a topics using self created bot. My forum has a special category and user, which can create a topics in that category.
Technology i'm using to create that bot is ruby + mechanize gem but it's not important right now. That bot works in a following way:
Sign in as previously mentioned user:
visit - /ucp.php?mode=login
fill the sign-in form using user credentials
if, after submiting a form, there is a sign-out link somewhere on the page, threat this whole process as "successfull"
Create a topic
visit - /posting.php?mode=post&f=21
fill subject field with desired subject
fill message field with desired message
submit a form using Submit button
And now, while first point works just great, the second one behaves in a strange way. After submiting a form, there is no error message or anything like that, i'm just getting redirected to /viewforum.php?f=21 (log's says that it's 302 Moved Temporarily status) page and the topic is not there.
Can anyone tell me what such behaviour means? Is there any security mechanism i don't know about? Please also note that the new topic form has form_token and creation_time fields filled correctly while form is beeing submited.
Thanks in advance for any clues.
According to this thread: https://stackoverflow.com/a/11713867/552936, user is treated as a bot if he sends a form without any delay (and it end's up with a 302 redirect). I can't find any info on google what's the exact delay, carck3r says that it's 8 seconds but for me, it was 2 seconds.
I am trying to use PHP to fire hits at Google to track newsletter opens and clickthroughs. I want to use the same technique for both clickthroughs and opens since the clickthroughs will go to sites outside of my own control - I want to be able to report on the clickthrough rates of the newsletters regardless of where the clicks go to. I was thinking of trying code.google.com/p/php-ga/ but there is little in the way of example code/support docs to start with so I am hesitant.
Here is my url to __utm.gif broken up over the lines for clarity:
utm.gif?utmac=MO-xxx31982-1">http://www.google-analytics.com/_utm.gif?utmac=MO-xxx31982-1
&utmhn=myfake.com
&utmcc=_utma%3D7042858245.1436153422.1214501708.1340117181.1340117181.1%3B%2B_utmz%3D1.1340117181.1.1.utmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%3B
&utmwv=1
&utmr=click
&utm_source=Emails
&utm_medium=Newsletter
&utm_campaign=tet+2012-06-19+10%3A41%3A30
&utmp=%2FMYZZ%2FNEWSLETTERS
&uservar=16430
Does the utmhn need to be a legit URL or one associated with the account? What about utmr? I was using that to contain 'click' or 'open' so I could differentiate.
When I click a link in the newsletter I get the expected pixel image returned so Google is getting something anyway even if ignoring my querystring. In my Google Analytics account where should I see the data relating the the __utm.gif hits? So far I see none when using this technique.
P.S. I got this technique from here
Follow up:
I changed a few things and my url now looks like so:
utm.gif?utmwv=1">http://www.google-analytics.com/_utm.gif?utmwv=1
&utmn=8391432847
&utmsr=click
&utmsc=-
&utmul=-
&utmje=0
&utmfl=-
&utmdt=-
&utmhn=myfake.com
&utm_source=my_newsletter
&utm_medium=Emails
&utm_campaign=tet 2012-06-19 10:41:30
&utmr=my_newsletter
&utmp=images/google/click
&utmac=MO-xxx31982-1
&utmcc=_utma%3D24820632.1925394567.1340121629.1340121629.1340121629.2%3B%2B_utmb%3D24820632%3B%2B_utmc%3D24820632%3B%2B_utmz%3D24820632.1340121629.2.2.utmccn%3D(direct)%7Cutmcsr%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D24820632.6430%3B
and nothing happens except when I paste that link into my browser then Google gets it, so why does it not work when called from the PHP line $handle = fopen ($urchinUrl1, "r");?
ok, nevermind. I changed my app around so the utm.gif is just included in the email and in a redirect page rather than called from the script. Should have done it that way but got caught up in the fancier idea of calling the url from php.
Even though this question is over a year old...the GA measurement protocol can be used to send hits back to GA for newsletter opens and clickthroughs.
To answer your initial question, it looks like you're missing the utmhid and utmn parameters.