INFRA-COMPASS is a tool that leverages Large Language Models (LLMs) to create and maintain an inventory of state and local codes and ordinances applicable to energy infrastructure.
Project description
INFRA-COMPASS is an innovative software tool that harnesses the power of Large Language Models (LLMs) to automate the compilation and continued maintenance of an inventory of state and local codes and ordinances pertaining to energy infrastructure.
Installing INFRA-COMPASS
The quickest way to install INFRA-COMPASS for users is from PyPi:
pip install nrel-compass
If you would like to install and run INFRA-COMPASS from source, we recommend using pixi:
git clone git@github.com:NREL/COMPASS.git; cd COMPASS
pixi run compass
Before performing any web searches (i.e. running the COMPASS pipeline), you will need to run the following command:
rebrowser_playwright install
If you are using pixi, don’t forget to prefix this command with pixi run or initialize a shell using pixi shell. For detailed instructions, see the installation documentation.
Quickstart
To run a quick INFRA-COMPASS demo, set up a personal OpenAI API key and run:
pixi run openai-solar-demo <your API key>
This will run a full extraction pipeline for two counties using gpt-4o-mini (costs ~$0.35). For more information on configuring an INFRA-COMPASS run, see the execution basics example.
Development
Please see the Development Guidelines if you wish to contribute code to this repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nrel_compass-0.6.1.tar.gz.
File metadata
- Download URL: nrel_compass-0.6.1.tar.gz
- Upload date:
- Size: 197.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfca0703575edc2d8ea62f21482f0984d692a850d347f9e9e5fb8c3a62153b18
|
|
| MD5 |
bb2d4d62869d068749cdaa88f21dd466
|
|
| BLAKE2b-256 |
a55ff1d07c148ffb2848dcc957884cbd4a3b7df1d55b53b134fd9c96ffa31239
|
File details
Details for the file nrel_compass-0.6.1-py3-none-any.whl.
File metadata
- Download URL: nrel_compass-0.6.1-py3-none-any.whl
- Upload date:
- Size: 195.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10f238409952cff95d1edbc45285f22dfea25c2d8eb61e80cc4ddbecb5f69085
|
|
| MD5 |
7f3d4fc69918b6e2532c7075fcda7d1f
|
|
| BLAKE2b-256 |
8de9aaafa0ea56ff96a964092fa0336493211e0665dc12cb13866727183ec3da
|