This architectural change enables you to place whole request processing logic to server, including state management, user management, intent extraction, skill execution and building response.
Breaking changes
Use Response.EndConversation to exit the conversation loop instead of Topic.IsFinished.
Use Response.EndTopic to clear state with continuing conversation loop.
Use Response.NextTurnRequestType to determine the request type of next turn, instead of State.RequiredRequestType
Add namespace using ChatdollKit.Dialog.Processor to your local skills.
Add user to the arguments of ISkill.ProcessAsync.
OnPromptAsync doesn't take state and user.
OnErrorAsync doesn't take state.
OnNoIntentAsync doesn't take state.
See examples to understand how to migrate your app to ChatdollKit 0.5.0.
This architectural change enables you to place whole request processing logic to server, including state management, user management, intent extraction, skill execution and building response.
Breaking changes
Response.EndConversation
to exit the conversation loop instead ofTopic.IsFinished
.Response.EndTopic
to clear state with continuing conversation loop.Response.NextTurnRequestType
to determine the request type of next turn, instead ofState.RequiredRequestType
using ChatdollKit.Dialog.Processor
to your local skills.ISkill.ProcessAsync
.OnPromptAsync
doesn't take state and user.OnErrorAsync
doesn't take state.OnNoIntentAsync
doesn't take state.See examples to understand how to migrate your app to ChatdollKit 0.5.0.