notice

This is documentation for Rasa Documentation v2.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (3.x).

Version: 2.x

rasa.nlu.training_data.lookup_tables_parser

add_item_to_lookup_tables

add_item_to_lookup_tables(title: Text, item: Text, existing_lookup_tables: List[Dict[Text, List[Text]]]) -> None

Takes a list of lookup table dictionaries. Finds the one associated with the current lookup, then adds the item to the list.

Arguments:

  • title - Name of the lookup item.
  • item - The lookup item.
  • existing_lookup_tables - Existing lookup items that will be extended.