[Typescript] Add GA SDK Skill support to VA/Skill Generator
Following a Skill protocol change to WebSockets we have been waiting on a new Streaming Extensions library to be available for Typescript, previously only available for C#. This will unblock Skill invocation scenarios for Virtual Assistant when using Typescript.
User Story
As ... a Developer I want ...to be able to connect skills to a TypeScript version of the Virtual Assistant so that ...there is parity between C# and Typescript
Acceptance Criteria
- [ ] Update VA and Skill generator to incorporate new GA SDK Skills
- [ ] Deploy a typescript VA and add a C# Skill (e.g. Calendar)
- [ ] Provide documentation on the changes required to existing VA solutions and Skills created by the generator as needed
hi Darrenj, Is there any ETA on the issue to be fixed? thanks, Kumar
Hoping to have end to end working for testing this week all being well.
Thank you @darrenj for the update.
is there any update on this issue @darrenj
Hi Darren,
@darrenj could you please provide an update on this work item. we need this critical feature to be developed for our use case.
appreciate your help.
thanks, Kumar
Hi @darrenj ,
Sorry to bother you again, there are any update on this? I saw that the library has been released for the version 4.6.0 (https://botbuilder.myget.org/feed/botbuilder-v4-js-daily/package/npm/botframework-streaming), is this compatible with the Botframework 4.5.0 and the Virtual Assistant?
There are a few things in flight here, one is the streaming extension availability which you've spotted and the other is the typescript availability of the new GA version of the Skills library. I am expecting the first packaged build of the Skills library next week at which point we can start updates of both the C# and Typescript templates to test and provide the (simple) migration steps.
We are targeting having this work ready for use in January and will keep this issue updated with progress including when daily builds are available.
In the meantime a Javascript/Typescript VA Bot can call a Skill created in JavaScript/Typescript as this uses HTTP due to the lack of the streaming extension dependency. The issue comes in when you wish to call a C# Skill like Calendar which the above changes will align across all languages.
@darrenj is this fixed and can I connect C# Skill from typescript VA? I am confused about your last comment.
Hello @darrenj ,
Once this resolved, would it be possible to invoke cSharp skills like ToDo from a TypeScript version on VA ?
Currently, I am getting an error related to WebSocketTransport used on C# skill. But my VA is typescript.
Yes, migration to the GA version of Skills removes the dependency on Websockets and thus will enable seamless mix/match of skills across platforms. We have the latest bits for C# and JS and working on initial integration, goal is to get changes into a daily build within the next couple of weeks to unblock scenarios.
Hi @darrenj,
I have another use case which is Typescript VA and Typescript Skill.
My problem is that the updateActivity is not available across the VA to the Skill and I need the streaming library for this (as far as I understood). Now I actually noticed that the WebSocket dependencies have been removed from the latest skills library (4.4.9). Don't understand why :) Are going to be moved somewhere else? Or?
OK, I have an update on progress with regard to the GA of the Skill capabilities within the Bot Framework SDK. This has transitioned the work incubated by Virtual Assistant into a formal GA version.
A sample is available that shows how a Bot can invoke another Bot (Skill). Key change is we now have a unified adapter meaning there is no need to utilise a different adapter or Streaming extensions. C# and JS.
We are working on updates to the Virtual Assistant / Skill template to provide the (small) changes out of the box and provide documentation on the few steps required to update existing Skills. Targeting end of January, with builds on our daily builds soon.
If you are keen to make progress ahead of this the above samples should give you everything you need. I'll update this issue with pointers to daily builds/changes as soon as they are ready.
@darrenj thank you for the this awesome update. I am just curious to know about unified adapter before we start leveraging that in our production Virtual assistant.
Does this mean we can use unified adapter in Typescript VA and can still invoke c# skill ?
A long awaited update!
We posted our 0.8 release yesterday which include an update to all of our sample Skills to support the new GA Skills capability and no longer preview. Websockets has been retired in favour of Web-Service communication between skills, Skills communicate back to the Bot asynchronously using a "callback" HTTP connection.
As a result there are some straight forward updates to existing Virtual Assistant and Skills to be made. C# VA updates are documented here and C# Skill updates are documented here.
The equivalent JS/Typescript generator changes are being finalised as we speak and targeting publishing of a new Generator and docs for existing VA/Skills by 14th February. For background reference, the high level steps to support invoking skills can be found here
Once these changes are complete it means a JS/typescript VA can invoke C# Skills, vice versa and indeed Python too.
@darrenj, any thoughts on above comment about typescript project ?
As per the above, yes there will be some migration steps to follow which we are finalising
Thank you.
Hey @darrenj , any news on when the JS/TS generator changes and doc updates will be released?
hey @darrenj, could you please let us know if the communication from VA (C#) to typescript skill work is done in the new framework (SDK) you menationed above. you have said it would be done by 14th Feb. appreciate your help
@darrenj any update on this ticket?