So what i want to do is to make a conversation between bot and a person, but the bot in the end must have at least 3 conversation between different persons. I was looking a lot for this but i cannot find anything that works.
Can somebody help me explaining how can i make multiple conversations between a bot and multiple users?
Bots developed in AIML aren't totally stateless as they can save per-user information while interacting with a user.
Your bot as a whole can interact with N number of users as there are no such limitations to AIML bots.
If you are saving variables using Set tag
<set name = "variable-name"> variable-value </set>
<category>
<pattern>I AM *</pattern>
<template>
Hi there <set name="name"> <star/>!</set>
</template>
</category>
Then it maybe stored for that particular user or as a global variable depending on the implementation of AIML specification you are using.
I am not much of an AIML expert but I do have used SIML for bot development.
In SIML however per-user information or variables are stored separately in the following fashion.
<Model>
<Pattern>WHAT IS MY NAME</Pattern>
<Response>Your name is <User Get="name"/></Response>
</Model>
Related
In a web page each registered company has own profile page with a list of records belonging to a company. I'm using Schema.org Organization structured data for that page and that schema markup requires URL property. As I understand it should contain e.g company home page url. The problem is that we do not store that kind of information.
If company profile URL in our page is: www.mypage.com/unique-company-profile can I use same url in schema URL property or it has to be an URL with a different domain?
Schema.org doesn’t require the url property for Organization (it never requires any property). Consumers (like Google Search) require properties for their features (like rich results). So, it’s perfectly fine to have an Organization without url; you might just not get a certain feature in a certain search engine.
As far as Schema.org is concerned, the url property can have a site-internal URL as value. A common structure is to use url for your own page about the organization, and sameAs for the organization’s official site.
<link itemprop="url" href="/organizations/acme" />
<a itemprop="sameAs" href="https://acme.example/">official site</a>
That said, again, a consumer might have certain restrictions; if you care about the feature they offer, you have to check their documentation.
I'd like to include a few ad spots in my newsletter and I think Google DFP can be used to managed ads in emails. The code that it generates requires Javascript which I can't include in my HTML email template. How do I set up the ad in Google DFP and how do I generate the code to display the ad in my HTML email?
Since email coding is limited to XHTML 1.0, your options are limited. I'll be honest, DFP is a really, really bad platform for serving ads in email. I manage a team that sends out ~2B emails per year for a large lifestyle media company and it's been a challenge for us simply because it's such a manual process. There are really good alternatives in the space if your needs merit a specialized solution.
If you're not sending a lot of volume it is achievable (albeit hacky). Like you eluded to in your question - email is not capable of utilizing JavaScript so you're limited to straight HTML through an image request and no-script beaconing. You'll need to leverage a 1x1 with query parameters to designate the newsletter name, ad type, brand or whatever else you wish to track.
Here is a rough example:
<a href="http://adserver.yoursite.com/clicktracker.ng/site=yoursite&newsletter=03_10_15_Yourbrand&ad=Big_Box&issue=315">
<img src="ad_creative/ESP redirect" width="300" height="250" border="0" alt="advertisement">
</a>
You'll need a standard image tag that uses key-values to target the ad to the newsletter you'll be publishing on. Good luck!
I want post some message and tag friends like facebook (web version) does. For example, "simple message #SomeUser". So the question is: how can i tag friends and what is the easiest way to do that?
As i understand there are two ways to do that:
1) https://developers.facebook.com/docs/graph-api/reference/v2.1/user/feed#pubfields but i don't understand why should i provide place id in order to tag friends and where to get (or generate ???) it. Moreover i don't understand where should i get user id. https://developers.facebook.com/docs/graph-api/reference/v2.1/user/taggable_friends? I don't know because request always fails.
2)https://developers.facebook.com/docs/opengraph/using-actions/v2.1#mentions ? I've tried #[userTaggingToken] and replaced userTaggingToken with user id from /user/taggable_friends. But it doesn't work too. Moreover, user id from /user/taggable_friends is much longer than one provided by example.
I abstract from any sdk so please don't refer to any programming language (and its SDK). Any links to documentation and examples with concrete requests (like .../v2.1/user/feed) and data should be passed (message="...") are welcome.
I am developing an AIML chatbot using Program-O. Is there any way i redirect to a link mentioned in the user input. As in can i use the href attribute inside AIML? For example:
<category>
<pattern>Go To google.com</pattern>
<template>Can i put something here to redirect to google.com?</template>
</category>
Using system element we can do that .
assuming that your using windows...
<category>
<pattern>Go To google.com</pattern>
<template><system>start "http://www.google.com"</system></template>
</category>
About a month ago YouTube decided to get rid of it's "tags" from the frontend of their website:
http://youtubecreator.blogspot.com/2012/08/tags-removed-from-video-watch-pages.html
Which also in turn left media:keywords blank through any API feed request as read here:
http://apiblog.youtube.com/2012/08/video-tags-just-for-uploaders.html
The nice thing was for another month or so (until a few days ago) you could still access a video's "tags" or "keywords" through the API by looping through the category term(s)
It seems YouTube has taken that away also and it now only displays ONE category term for each API feed...and most of the time they are the basic YouTube categories like "Music" or "People" etc.
My questions to the YouTube development team is why was this taken away from the API (I understand taking it away from the frontend of the website) and will it ever return in any form to the API?
In the original Creators blog post you guys stated:
"Tags remain an important way to organize and help others find your videos. We strongly encourage you to continue tagging videos -- this will help increase your audience by improving the discoverability of your content."
So if Tags are still important and still utilized for search results...why in the world are they not available through the API anymore?
Any help and/or info would be greatly appreciated as this has completely destroyed the functionality of MANY of my sites! Thank you.
It appears they've made them private and you must use an authorized API request with adequate channel privileges to access them now. This really sucks since I've used them for filtering videos from a channel on a site and making authorized connections to the API via PHP has been complicated for me to get working correctly.
And the fact that this added complication is ONLY for keywords seems a bit ridiculous, but I don't guess the Youtube API team cares.
Unless a WHOLE lot of people complain about it, I doubt they'll add this back as a public.
I just added
Update: This change also applies to <category
scheme="http://gdata.youtube.com/schemas/2007/keywords.cat"> tags,
which were not mentioned in the original announcement.
to the announcement blog post. <category> tags should have been removed for the same reason <media:keywords> was removed, but due to an oversight they were left in unauthenticated API responses for a few weeks. There are no plans to add back keyword information via either metadata field.
If your goal is to have some semantics in the video, Freebase Topics can help. You can for instance do a JSONp call
<script src="https://www.googleapis.com/freebase/v1/topic${item}?filter=/type/object/name&callback=putFBname"></script>
with a small javascript function
<script>
function putFBname(respuesta){
span=document.getElementById(respuesta["id"]);
span.innerHTML=" "+respuesta["property"]["/type/object/name"]["values"][0]["text"];
}
</script>
to get the name of the topic.
Freebase topics come in the API v3.