question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a flag for skill mode in turn for adaptive dialog memory state

See original GitHub issue

Is your feature request related to a problem? Please describe.

I don’t find a way to determine whether bot is running in skill using adaptive dialog memory state. https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-concept-adaptive-dialog-memory-states?view=azure-bot-service-4.0#turn-scope

Describe the solution you’d like

Add a flag in turn like turn.isSkill. This will also simplify all the codes of turnContext.TurnState.Get<ClaimsIdentity>(BotAdapter.BotIdentityKey) is ClaimsIdentity botIdentity && SkillValidation.IsSkillClaim(botIdentity.Claims).

[enhancement]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gabogcommented, Sep 22, 2020

Thanks for the query @xieofxie, that helps a lot to understand the need. We are currently trying to get a clear understanding one when do you need to know if something is running as a skill or not. I’ll put this request in the backlog for now and will get back to it once we are done with the research. Sounds good?

0reactions
xieofxiecommented, Sep 22, 2020

Hi @gabog since it is not valid, I don’t have a composer example now. I could find some C# examples for you https://github.com/microsoft/botframework-skills/search?l=C%23&q=IsSkill

In summary, return value, code logic like introduction, cancel, interruption would be different. Thanks~

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inputs in adaptive dialogs in Bot Framework SDK
Learn about adaptive dialogs prebuilt inputs for collecting and validating ... The memory path of the property to get input from each turn....
Read more >
Viewport Show Flags | Unreal Engine 4.27 Documentation
The Show Flags are found under the Viewport Show menu. They are a means by which you can show and hide many of...
Read more >
Oracle Digital Assistant Known Issues - Cloud
Export Conversations Log from skill has an option for Intent Conversation Log, which is not in the skill settings. In bot tester the...
Read more >
People who disliked Honkai Star Rail : r/gachagaming
Im a turn based player since i was a kid and i can say that it is a good intro to people new...
Read more >
Active Assistance Technology for Health-Related Behavior ...
Background. Information technology can help individuals to change their health behaviors. This is due to its potential for dynamic and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found