virtuoso v0.0.28 MementoMori.FastThinking
FastThinking checks for intents and entities expressly implied by the impression structure or contents. This allows us to bypass SlowThinking when it is performant to do so.
Link to this section Summary
Functions
Add new function definitions, pattern matching against the impression in order to catch common user intents
Link to this section Functions
Link to this function
run(impression)
Add new function definitions, pattern matching against the impression in order to catch common user intents.
def run(%{message: “Hello Bot”} = impression) do impression |> Map.merge(%{intent: “hello_world”}) end