Dears ,
I would like to know how can i make the dialog dynamic in microsoft bot framework? Now from the code samples it's all using enums to represent values , but how if the values shall be returned from a service?
I also have another question , where can I find the luis intents that are being used in the samples? and from where the word " Please select " comes from the github bot builder sample , especially the pizzabot .
I blogged about Dynamic FormFlow Forms in Bot Builder. This was written for FormFlow. I haven't figured out how to get string arrays to work with dialogs or if there might be a bug there.
The Prompts are using the defaults for properties in the PizzaOrder class. and you can change them with Prompt and Template attributes. The SandwichBot explanation in the docs covers these attributes.
I don't know if Microsoft opened the LUIS intents for PizzaBot (or if it's practical to let the general public view your original model). Maybe you can visit their Feedback site and ask them to share the JSON for the LUIS PizzaBot model. The LUIS video tutorial and docs might help if you want to create your own model and replace the LUIS model tokens with your own.
Related
Please see the screen below. In my LUIS authoring console, I seem to be missing the "machine-learned" entity type as well as the "descriptors" option in my left nav rail. The tutorials I am following--all recent as of this post--are showing that I need to use these options.
Have these options been deprecated or something? What am I missing?
Thanks in advance.
It looks like you're using the luis.ai portal instead of preview.luis.ai portal.
Creating entities in luis.ai portal:
Creating entities in preview portal:
There has been a change in how one models LUIS entities with the move from v2 to v3 LUIS API versions. LUIS is moving away from different types of entities towards instead moving to using a single ML entity to encapsulate a concept. The ML entity can have children entities to help describe or restrict what would be identified as that parent ML entity.
Changes in preview version of the LUIS portal are planned to switch over sometime post-Microsoft Build (2020) Conference.
Also it appears "descriptor" will be renamed to "feature" as well.
I am using bot framework web chat and I have an adaptive card with just one input field.Is it possible to handle auto complete as user's type in the card's input field ?
Example : Input field is for city.As user type the first 3 character of city i want to provide the suggestions and users can pick from it.
I found the below link in github but its about auto complete for chat typing area not for cards.
https://github.com/Microsoft/BotFramework-WebChat/issues/476
To the best of my knowledge this is not possible today in v1.0 of the Adaptive Card specification. The cards are rendered without any control over their behavior except for the built-in actions: Submit, OpenURL, ShowCard.
Adaptive Cards are very much like HTML 2.0... if you were [un]fortunate to have lived through those days. 😄 The spec defines all the possible behaviors and the agent/host is considered compliant with a version of the spec when they implement those behaviors and no additional behaviors are supported via any kind of extensibility.
It may require a little work and some react knowledge, but you should be able to create a custom AdaptiveCard Renderer using WebChat's attachmentMiddleware. In your custom renderer, you should be able to add an input field with your autocomplete logic. For more details on how to create a custom AdaptiveCard Renderer, take a look at this WebChat Example that creates a custom GitHub Card.
Hope this helps!
Is it possible to add some code or something else to make it possible that whenever I type a hashtag followed by a number that this will be replaced by a url?
My requirement is whenever some developer mention a ticket number like #1234 in his chat post into a channel I want to make this clickable and directly opens a url like myticketsystem.com?id=1234.
If I understand correctly, you're looking to implement an auto-linking similar to how GitHub handles things like Fixes issue #xxxx? It isn't possible to implement this in Teams today, it isn't possible to inject your own logic into the composition rendering pipeline.
What you could do however is build a Compose Extension. This wouldn't replicate the GitHub experience but it would certainty make it easier to insert links to tickets into the compose editor. It could also be a more powerful tool, allowing users to search the ticketing system rather than having to know the number before writing the post.
I have added some custom fields to the profiles in connections. Now I would like to create an overview (a view or list) and display the values.
How should I do this?
There is a comprehensive article on the Wiki
http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_IBM_Connections_4.0_Profiles
"This article has provided an end-to-end scenario illustrating the new
customization techniques in the IBM Connections 4.0 Profiles
component. The reader was able to define new extension fields to
associate with their users, so as to meet a typical business scenario,
and provide a tailored presentation of the users in the social network
to encourage use of the data."
it's for version 4.0, and should broadly apply to 5.0.
To continue the answer... you'll want to use the ext attributes in the search for profiles
http://www-10.lotus.com/ldd/appdevwiki.nsf/xpAPIViewer.xsp?lookupName=API+Reference#action=openDocument&res_title=Searching_Profiles_programmatically_ic50&content=apicontent
and call GET /profiles/atom/search.do?FIELD_EXTATTR_SCHOOL=Westford
where school is your new attribute name
CRM 2013 allows a customiser to add multiple "Quick Create" forms against an entity. In the case of our ISV product, this is potentially useful since we always avoid customising "native" forms in favour of creating our own form.
However given that:
Quick Forms cannot be deactivated
Quick Forms cannot have security roles defined against them
There is no mechanism as a user to select or change which Quick Create form to use
There is no mechanism to set a preferred Quick Create form
What is the point of multiple Quick Create forms?
My goal was to create a custom Quick Create form against the Account entity to avoid changing the native Account Quick Create form but there is seemingly no way to allow my users to use this form.
Typical - Despite earlier research, I found the answer within minutes of posting the question on SO:
Although you can define multiple quick create forms, only one quick
create form can be used by everyone. The form everyone will use is set
using the form order. Quick create forms cannot be assigned to
security roles and they do not provide the capability for the user to
switch forms.
Source: Quick Create Forms in Dynamics CRM 2013