Skip to content

MakeList Node

kleer001 edited this page Feb 6, 2025 · 1 revision

Make List Node

A specialized node for parsing numbered lists from text, converting the first found list into a list of strings. Supports multiple numbering formats and handles multi-line list items while preserving formatting.

Parameters

limit (bool)

When True, limits the number of output items.

max_list (int)

Maximum number of items to output when limit is True.

is_time_dependent (bool)

Always False for this node.

List Parsing Capabilities

Supported Numbering Formats

  • Arabic numerals (1., 2., 3.)
  • Written numbers (one., two., three.)
  • Ordinal numbers (first., second., third.)
  • Compound numbers (twenty-one, ninety-nine)

Format Features

  • Multiple separator support (. : - _)
  • Multi-line item preservation
  • Original text formatting maintained within items
  • Case-insensitive number word recognition

Usage Example

Meeting Agenda Input

Meeting Agenda:
1. Review previous minutes
   Additional notes about minutes
2. Discuss new projects
3. Plan next meeting

Resulting Output

[
    'Review previous minutes Additional notes about minutes',
    'Discuss new projects',
    'Plan next meeting'
]

Ordinal Number Input

Project Steps:
First: Initialize repository
Second: Set up environment
Third: Begin development

Resulting Output

[
    'Initialize repository',
    'Set up environment',
    'Begin development'
]

Technical Limitations

  • Processes only the first numbered list encountered
  • Cannot handle nested lists
  • Maximum number support up to thousands
  • Does not preserve original numbering format
  • Cannot process Roman numerals (i., ii., iii.)
  • Does not handle lettered lists (a., b., c.)

Important Notes

  • List items must start with a number or number word followed by a separator
  • Lines without numbers are treated as continuation of the previous item
  • Preserves internal spacing but trims leading/trailing whitespace
  • Non-string inputs return an empty string

Clone this wiki locally