L4 Tutorials
Task-oriented guides to help you accomplish specific goals with L4. Each tutorial is self-contained and focused on a particular use case or audience.
Getting Started
New to L4? Start here:
- Your First L4 File - Create and run a simple L4 program
- Encoding Legislation - Turn legal text into L4
- Wedding Vows - Fun intro to regulative rules
- Common Patterns - Quick reference patterns
By Topic
Natural Language Functions
Write functions that read like legal prose:
Audience: All L4 users
Prerequisites: Basic function syntax
LLM Integration
Working with AI and language models in L4:
- LLM Getting Started - Basics of LLM integration
- Legislative Ingestion - LLM-assisted encoding
Audience: Developers, AI/ML practitioners
Prerequisites: Basic L4 knowledge
By Audience
For Legal Professionals
- Your First L4 File
- Encoding Legislation
- Coming soon: Modeling a Simple Contract
For Developers
- LLM Integration
- Coming soon: Decision Service API
- Coming soon: Integrating with REST APIs
For Legal Engineers
- Legislative Ingestion
- Coming soon: Multi-Temporal Rule Modeling
- Coming soon: Handling Legal Ambiguity
For Data Scientists
- Coming soon: L4 for Explainable AI
- Coming soon: Integrating with Python Pipelines
Tutorial Ideas
See Tutorial Suggestions for a list of planned tutorials and ideas for new content. Contributions welcome!