5/20/2023 0 Comments Manifest synonymThe skill client and skill handler objects both use the conversation ID factory to translate between the conversation the root bot uses to interact with the user and the conversation the root bot uses to interact with the skill. Using an authentication configuration object, you can add claims validation to a skill or skill consumer to limit which applications or users have access. The Bot Connector service provides both channel and bot-to-bot authentication.The skill conversation ID factory translates between the user-root conversation reference and the root-skill conversation reference. A skill handler receives activities from a skill.A skill HTTP client sends activities to a skill.A Bot Framework skill describes routing information for a skill and can be read from the skill consumer's configuration file.These objects help manage skills and route skill traffic: The root bot's adapter sends any messages from the skill to the user.The root bot's adapter internally generates a proactive message to resume the conversation with the user.(Activities from the skill are received at the root bot's skill host endpoint.) It then forwards the activity to the root bot's adapter. It gets the root-user conversation information from the skill conversation ID factory. When the skill responds, the root bot's skill handler receives the activity.(Activities from the consumer are received at the skill bot's messaging endpoint.) The skill's adapter receives activities from the skill consumer and forwards them to the skill's activity handler.This includes the service URL that the skill will use to reply to the activity. The client gets the consumer-skill conversation information from a skill definition and a skill conversation ID factory. The root bot uses a skill HTTP client to send an activity to the skill.(Activities from the user are received at the root bot's messaging endpoint.) The root bot's adapter receives activities from the user and forwards them to the root bot's activity handler.This diagram outlines the flow of activities from the user to the root bot to a skill and back again. A skill requires added logic to send an endOfConversation activity when it completes, so that the skill consumer knows when to stop forwarding activities to the skill.(The skill consumer needs to pair code that receives the HTTP method request from the skill with a skill handler.) This acts as a callback URL, the service URL to which the skill replies. A skill host endpoint for receiving activities from a skill.This is the usual messaging endpoint that all bots implement. A messaging endpoint receives activities from the user or channel. A skill consumer implements at least two HTTP endpoints: In addition to the usual bot and adapter objects, the consumer includes a few skill-related objects, used to exchange activities with the skill.
0 Comments
Leave a Reply. |