Botframework-composer: Call Samples Skill from Composer

Created on 9 Aug 2020  路  15Comments  路  Source: microsoft/BotFramework-Composer

Can't connect the existing Samples Skill with my Composer.

Hi all

We have a sample skill in Bot Builder Samples repo. I am able to connect this with my normal Consumer bot (which is a copy of the sample provided in the same directory). However, when I try to connect this with my Composer bot (it gives me an error) as below.

image

Am I doing something wrong? Is it already raised or a duplicate of any issue? Looking forward to learn from you.

Version

v1.0.2

Browser

  • [x] Electron distribution
  • [ ] Chrome
  • [ ] Safari
  • [ ] Firefox
  • [ ] Edge

OS

  • [ ] macOS
  • [x] Windows
  • [ ] Ubuntu

To Reproduce

I just tried to connect it using an action in Composer called Connect to Skill.

Expected behavior

The skill should have been connected.

Bot Services R11 Bug customer-replied-to customer-reported skill

All 15 comments

Can you double check the url you are using to add your skill? It looks like its incorrect - manifests should be plural. When you add a skill, Composer tries to fetch the manifest to make sure it is a valid skill. If it is not, it raises an error. The url should look like http://localhost:<PORT>/manifests/<MANIFEST_NAME>.json.

Hi @tdurnford - the manifest link is correct. As I mentioned earlier that the same skill is working with another bot (in the sample) but does not get connected with the Composer. FYI, I have attached some of the images for you.

Below is my manifest;

image

And the skill is getting connected with the Bot Framework Bot on Emulator;

image

Bot Framework Composer now;

image

Happy to give you a video walk through if you need further details.

@arafattehsin Thank you for the additional information. I'll pull down the sample you referenced, and to try to repro the issue.

@arafattehsin For some reason Composer is fetching the manifest fine in the hosted version; however, it's throwing an error in the electron version of the app. We'll have to investigate this further.

@tdurnford Unfortunately, that's not the case at my end. Even the hosted version does not seem to be working for such skills.

image

Hi @arafattehsin we will include this in our next release cycle

I followed the basic steps covered in this doc and tested calling a sample bot skill from a Composer bot and succeeded.

I found two things important:

  • I updated the echoskillbot-manifest-1.0 file which lives in this directory: 80.skills-simple-bot-to-bot\EchoSkillBot\wwwroot\manifest: the endpointUrl and the msAppId (the Bot Channels Registration you created for your skill bot).

image

  • My Manifest URL looks like this:
    image

Hope the info will be of any help. Thanks again for your feedback.

Hi @zxyanliu - may I know which version of Composer are you using?

@arafattehsin I used electron 1.0.2

@zxyanliu Are you using the nightly electron builds?

@tdurnford I did not.

@arafattehsin we are currently looking into this, and will provide an update sometime later this week.

@arafattehsin Can you see if this is resolved in the latest release of Composer - v1.1.1 - with the most update-to-date samples from the BotBuilder-Samples main branch? I didn't have an issue adding the EchoSkill using Composer running locally or the Electron version.

@tdurnford Sure. I will test it tonight.

Marking it closed as it's fixed. Thank you so much team! 馃挴

Was this page helpful?
0 / 5 - 0 ratings