ApiBrain().GenerateDynamic

Invokes the core SILVIA algorithms to generate a Dynamic Output.

Description

This method invokes SILVIA’s Dynamic Output generation. Two strings are passed to the method, the first containing the space-separated Concepts for expression, and the second containing the space-separated Concepts for exclusion. For instance, one might call the method with “artificial intelligence” as the first string, and “movies books” as the second. This will force SILVIA to generate something to say about artificial intelligence, but she will not say anything about artificial intelligence in movies or books. When invoked, this method uses the parameters set by the “setDynamic*” functions.

Note that within the SILVIA Training UI, dynamic Concept sets are specified within Exuders using “[“ and “]” opening and closing brackets, and excluded Concepts are specified with the “#” symbol, used to open and close blocks of excluded Concepts. For instance, the above example would be specified within the Exuder as: [artificial intelligence #movies books#]

Alternately, if the DYNAMIC check is enabled, the Exuder would not need the “[“ and “]” symbols, and would read: artificial intelligence #movies books#

Example Usage (Java/C#)


string output = _core.ApiBrain().GenerateDynamic(“rock and roll”, “keith richards”);

Parameters

string

concepts

The string containing the set of Concepts to be expressed in the output.

string

excluded

The string containing the set of Concepts to exclude from the output.

Returns

A string containing the dynamically generated output.

See Also

  • ApiBrain().SetDynamicAttraction
  • ApiBrain().SetDynamicDepth
  • ApiBrain().SetDynamicFalloffDepth
  • ApiBrain().SetDynamicFalloff
  • ApiBrain().SetDynamicAdaptation
  • ApiBrain().GenerateDynamicLimited