ChengOS
Rust 엔진 기반 시각화 AI 데이터 처리 및 에이전트 워크플로우 시스템
대형 언어 모델을 활용해 에너지 인프라 관련 법규와 코드를 관리·작성하는 도구
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.
데이터Python · RustGitHub @NatLabRockies온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗.. raw:: html
<p align="center">
<img height="250" src="https://raw.githubusercontent.com/NatLabRockies/COMPASS/main/docs/source/_static/logo_horiz.png"/>
</p>
|License| |Zenodo| |PythonV| |PyPI| |Ruff| |Pixi| |SWR|
.. |PythonV| image:: https://badge.fury.io/py/INFRA-COMPASS.svg :target: https://pypi.org/project/INFRA-COMPASS/
.. |PyPI| image:: https://img.shields.io/pypi/pyversions/INFRA-COMPASS.svg :target: https://pypi.org/project/INFRA-COMPASS/
.. |Ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json :target: https://github.com/astral-sh/ruff
.. |License| image:: https://img.shields.io/badge/License-BSD_3--Clause-orange.svg :target: https://opensource.org/licenses/BSD-3-Clause
.. |Pixi| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json :target: https://pixi.sh
.. |SWR| image:: https://img.shields.io/badge/SWR--25--62_-blue?label=NLR :alt: Static Badge
.. |Zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.17173409.svg :target: https://doi.org/10.5281/zenodo.17173409
.. inclusion-intro
COMPASS (formally the Infrastructure Continuous Ordinance Mapping for Planning and Siting Systems, or "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.
At a high level, COMPASS does two things: it retrieves the right ordinance documents for each jurisdiction you ask about, and then extracts structured data from those documents into a versioned database that downstream users can query as a CSV, Excel workbook, or GeoPackage.
.. image:: https://raw.githubusercontent.com/NatLabRockies/COMPASS/main/docs/source/_static/overview.png :alt: High-level overview of the COMPASS pipeline :align: center :width: 100%
What makes COMPASS different from simply asking ChatGPT for ordinance data is the architecture around the LLM call:
reV <https://github.com/NREL/reV>_, GIS workflows, or any pipeline that
needs setbacks, height limits, and noise thresholds as numbers rather than prose.Read more about the tool in the documentation <https://natlabrockies.github.io/COMPASS/misc/about.html>,
check out summaries of the validation results in the validation report <https://natlabrockies.github.io/COMPASS/val/validation.html>,
or explore the data on the COMPASS website <https://compass.nlr.gov/>_.
The National Laboratories of the Rockies (NLR) typically runs the COMPASS pipeline annually and publishes refreshed datasets to OpenEI. The latest published ordinance datasets are available here:
The quickest way to install COMPASS for users is from PyPI:
.. code-block:: bash
pip install infra-compass
If you would like to install and run COMPASS from source, we recommend using
pixi <https://pixi.sh/latest/>_:
.. code-block:: bash
git clone [email protected]:NatLabRockies/COMPASS.git; cd COMPASS
pixi run compass
For detailed instructions and troubleshooting, see the
installation documentation <https://natlabrockies.github.io/COMPASS/misc/installation.html>_.
To run a quick COMPASS demo, set up a personal OpenAI API key and run:
.. code-block:: shell
pixi run openai-solar-demo <your API key>
This will run a full extraction pipeline for two counties using gpt-4o-mini (costs ~$0.45).
For more information on configuring a COMPASS run, see the
execution basics example <https://natlabrockies.github.io/COMPASS/examples/execution_basics/README.html>_.
Please see the Development Guidelines <https://natlabrockies.github.io/COMPASS/dev/index.html>_
if you wish to contribute code to this repository.