Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,4 @@ __pypackages__/

# Added by cargo
/target
examples/
38 changes: 38 additions & 0 deletions compass/extraction/geothermal_electricity/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
"""Geothermal electricity generation ordinance extraction utilities"""

from .ordinance import (
GeothermalElectricityHeuristic,
GeothermalElectricityOrdinanceTextCollector,
GeothermalElectricityOrdinanceTextExtractor,
GeothermalElectricityPermittedUseDistrictsTextCollector,
GeothermalElectricityPermittedUseDistrictsTextExtractor,
)


GEOTHERMAL_ELECTRICITY_QUESTION_TEMPLATES = [
"filetype:pdf {jurisdiction} geothermal power plant ordinance",
"geothermal electricity generation ordinance {jurisdiction}",
"{jurisdiction} geothermal energy facility zoning ordinance",
(
"Where can I find the legal text for geothermal power plant "
"zoning ordinances in {jurisdiction}?"
),
(
"What is the specific legal information regarding zoning "
"ordinances for geothermal electricity generation facilities in "
"{jurisdiction}?"
),
]

BEST_GEOTHERMAL_ELECTRICITY_ORDINANCE_WEBSITE_URL_KEYWORDS = {
"pdf": 92160,
"geothermal": 46080,
"ordinance": 23040,
"zoning": 11520,
"regulation": 5760,
"code": 2880,
"power": 1440,
"electricity": 1440,
"planning": 720,
"government": 180,
}
Loading
Loading