compass.plugin.ordinance#

Helper classes for ordinance plugins

Classes

BaseParser()

Extract succinct extraction text from input

BaseTextExtractor(llm_service[, usage_tracker])

Extract succinct extraction text from input

KeywordBasedHeuristic()

Perform a heuristic check for mention of a technology in text

OrdinanceExtractionPlugin(jurisdiction, ...)

Base class for COMPASS extraction plugins

OrdinanceParser(llm_service[, usage_tracker])

Base class for parsing structured data

PromptBasedTextCollector(*args, **kwargs)

Text extractor based on a chain of prompts

PromptBasedTextExtractor(llm_service[, ...])

Text extractor based on a chain of prompts