The YouTube Skill will allow you to add YouTube channels or content videos in the Skills section of Digital DNA Studio. This skill can be customized to your needs, depending on what channel you want to focus on in your search. The skill takes the conversational request from the end-user and uses the YouTube API to search those channels and videos looking for matches. If there is a match, it will return a customizable conversation response along the lines of “Here is a video I found on that topic", along with the video link and description. The Digital Person will speak the conversational response, then the enterprise customer's UI will be responsible for showing the video.
For you to take advantage of the YouTube skill, your user interface must support cards or be able to capture and interpret @commands and make use of the variables included in the response JSON. This is built into the default theme but would require custom frontend development if you are using custom UI.
Configurations
Provide the following information in the YouTube Skill configuration screen:
This allows you to restrict the YouTube video search to your official channel. This ID is available in the URL of your YouTube channel:
https://www.youtube.com/channel/<yourChannelId>
Example: 'Cpo1Pr6k5kxG9AUVm7bg6pXK'
Safe Search
TEXT
Enter either strict or open. When safe search is set to strict, it helps hide explicit content on the search results.
Spoken Phrase When Listing The Video Options
TEXT
Output phrases that can be customized to change the tone or wording of the verbal response. The default is 'I found several videos on that topic. Please indicate which you want to view'
Spoken Phrase When No Videos Found
TEXT
Output phrases when a matching video is not found. The default is 'Sorry, I couldn't find any videos for {0}'
Max Number Of Videos To Return
NUMBER
Specify the number of videos to be returned. It can be a number between 1 to 100. The default value is 3.