compass.validation.content#

Ordinance document content Validation logic

These are primarily used to validate that a legal document applies to a particular technology (e.g. Large Wind Energy Conversion Systems).

Functions

parse_by_chunks(chunk_parser, heuristic, ...)

Parse text by chunks, passing to callbacks if it's legal text

Classes

Heuristic()

Perform a heuristic check for mention of a technology in text

LegalTextValidator()

Parse chunks to determine if they contain legal text

ParseChunksWithMemory(structured_llm_caller, ...)

Check text chunks by sometimes looking at previous chunks