NL2LTL – a Python Package for Converting Natural Language (NL) Instructions to Linear Temporal Logic (LTL) Formulas
DOI:
https://doi.org/10.1609/aaai.v37i13.27068Keywords:
Natural Language, Linear Temporal Logic, Automated Planning, Workflow ManagementAbstract
This is a demonstration of our newly released Python package NL2LTL which leverages the latest in natural language understanding (NLU) and large language models (LLMs) to translate natural language instructions to linear temporal logic (LTL) formulas. This allows direct translation to formal languages that a reasoning system can use, while at the same time, allowing the end-user to provide inputs in natural language without having to understand any details of an underlying formal language. The package comes with support for a set of default LTL patterns, corresponding to popular DECLARE templates, but is also fully extensible to new formulas and user inputs. The package is open-source and is free to use for the AI community under the MIT license. Open Source: https://github.com/IBM/nl2ltl. Video Link: https://bit.ly/3dHW5b1Downloads
Published
2024-07-15
How to Cite
Fuggitti, F., & Chakraborti, T. (2024). NL2LTL – a Python Package for Converting Natural Language (NL) Instructions to Linear Temporal Logic (LTL) Formulas. Proceedings of the AAAI Conference on Artificial Intelligence, 37(13), 16428-16430. https://doi.org/10.1609/aaai.v37i13.27068
Issue
Section
Demonstrations