ApiFeedback()

This class, implemented as part of the SILVIA C# API, provides access to SILVIA’s Cognitive Feedback functions. This includes parametric control, data/file access, and invoking SILVIA’s Feedback functions dynamically.

While you can define a “public SilviaCore” reference in external C# scripts by whatever name you choose, for all internal scripting, the Silvia Core is referred to as “_core”, e.g. “_core.ApiFeedback()…”

Discussion

SILVIA’s Cognitive Feedback functions are designed to glean more information from user input by keeping a history of the text a user says to SILVIA. The Cognitive Feedback functions also help to form Dynamic Outputs relevant to user input. A SILVIA Brain File will build Feedback outputs using any Exuders marked Reusable that it can relate to Concepts it has received from user inputs. Thus, if there are no Exuders marked Reusable, Feedback and Dynamic Outputs will be scant; if there are no Bindings added to Concepts in the Brain File, Feedback and Dynamic Outputs will lack relevancy.

Since Feedback is collected and stored by Username, taking time to consider how and where to store the Feedback “.txt” files, when to load them, and how to authenticate users in the SILVIA deployment is valuable if you wish to retain or secure any session Feedback data.

ApiFeedback()

This class, implemented as part of the SILVIA C# API, provides access to SILVIA’s Cognitive Feedback functions.

Function
Description
ApiFeedback().SetActive
Enables or disables SILVIA’s Cognitive Feedback output.
ApiFeedback().IsActive
Returns the boolean enabled or disabled status of SILVIA’s Cognitive Feedback output.
ApiFeedback().Clarify
Forces the SILVIA Cognitive Feedback to generate a set number of outputs.
ApiFeedback().AddFeedback
Adds Conceptual data to the Feedback memory.
ApiFeedback().SuggestFeedback
Adds Conceptual data to the Feedback memory as a suggestion.
ApiFeedback().SetInterval
Sets the range of time, in seconds, between Cognitive Feedback generated outputs.
ApiFeedback().SetThreshold
Sets the Conceptual trigger values for Feedback utterance.
ApiFeedback().SetProbability
Sets the overall probability that a Feedback output will be uttered.
ApiFeedback().Pause
Pauses the output of SILVIA’s Cognitive Feedback.
ApiFeedback().Resume
Resumes the output of SILVIA’s Cognitive Feedback.
ApiFeedback().Search
Initiates a time-based search of conversational / Feedback data for a particular user.
ApiFeedback().SearchRemoveFromStack
Removes the current utterance in the search results from the general Feedback memory.
ApiFeedback().SearchGetString
Returns the current utterance in the search results.
ApiFeedback().SearchGetTime
Returns the timestamp of the current utterance in the search results.
ApiFeedback().SearchNext
Increments to the next search result in the array.
ApiFeedback().Write
Exports the conversational / Feedback data of a particular user.
ApiFeedback().Read
Imports conversational / Feedback data from a file.