MCPcopy Create free account
hub / github.com/andelf/PyAIML / _processRandom

Method _processRandom

aiml/Kernel.py:768–788  ·  view source on GitHub ↗

Process a AIML element. elements contain zero or more elements. If none, the empty string is returned. If one or more elements are present, one of them is selected randomly to be processed recursively and have its results returned.

(self, elem, sessionID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_processElementMethod · 0.95

Tested by

no test coverage detected