SmartChatBoxAdapter
Wisej.AI.Adapters.SmartChatBoxAdapter
public class SmartChatBoxAdapter : SmartAdapterPublic Class SmartChatBoxAdapter
Inherits SmartAdapter
[SmartTool.Tool]
[Description("Returns the current date and time.")]
public DateTime GetCurrentDateTime() {
return DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToLongTimeString();
}
Constructors
SmartChatBoxAdapter()
Properties
AutoReset
BotAvatar
BotName
ChatBox
User
Methods
FormatAnswer(answer, sources)
Parameter
Type
Description
OnAnswerReceived(args)
Parameter
Type
Description
OnControlCreated(control)
Parameter
Type
Description
OnControlDisposed(control)
Parameter
Type
Description
OnSourceClicked(args)
Parameter
Type
Description
ParseAnswer(text)
Parameter
Type
Description
ParseSources(text)
Parameter
Type
Description
ResetSession(removeMessages)
Parameter
Type
Description
RunAsyncCore(control)
Parameter
Type
Description
Events
AnswerReceived
SourceClicked
Implements
Name
Description
Last updated
