***************************
Energy Language Model (ELM)
***************************
.. image:: https://github.com/NREL/elm/workflows/Documentation/badge.svg
:target: https://nrel.github.io/sup3r/
.. image:: https://github.com/NREL/elm/workflows/pytests/badge.svg
:target: https://github.com/NREL/elm/actions?query=workflow%3A%22pytests%22
.. image:: https://github.com/NREL/elm/workflows/Lint%20Code%20Base/badge.svg
:target: https://github.com/NREL/elm/actions?query=workflow%3A%22Lint+Code+Base%22
.. image:: https://img.shields.io/pypi/pyversions/NREL-elm.svg
:target: https://pypi.org/project/NREL-elm/
.. image:: https://badge.fury.io/py/NREL-elm.svg
:target: https://badge.fury.io/py/NREL-elm
.. image:: https://zenodo.org/badge/690793778.svg
:target: https://zenodo.org/doi/10.5281/zenodo.10070538
The Energy Language Model (ELM) software provides interfaces to apply Large Language Models (LLMs) like ChatGPT and GPT-4 to energy research. For example, you might be interested in:
- `Converting PDFs into a text database <https://nrel.github.io/elm/_autosummary/elm.pdf.PDFtoTXT.html#elm.pdf.PDFtoTXT>`_
- `Chunking text documents and embedding into a vector database <https://nrel.github.io/elm/_autosummary/elm.embed.ChunkAndEmbed.html#elm.embed.ChunkAndEmbed>`_
- `Performing recursive document summarization <https://nrel.github.io/elm/_autosummary/elm.summary.Summary.html#elm.summary.Summary>`_
- `Building an automated data extraction workflow using decision trees <https://nrel.github.io/elm/_autosummary/elm.tree.DecisionTree.html#elm.tree.DecisionTree>`_
- `Building a chatbot app that interfaces with reports from OSTI <https://github.com/NREL/elm/tree/main/examples/energy_wizard>`_
Installing ELM
==============
.. inclusion-install
NOTE: If you are installing ELM to run ordinance scraping and extraction,
see the `ordinance-specific installation instructions <https://github.com/NREL/elm/blob/main/elm/ords/README.md>`_.
Option #1 (basic usage):
#. ``pip install NREL-elm``
Option #2 (developer install):
#. from home dir, ``git clone git@github.com:NREL/elm.git``
#. Create ``elm`` environment and install package
a) Create a conda env: ``conda create -n elm``
b) Run the command: ``conda activate elm``
c) ``cd`` into the repo cloned in 1.
d) Prior to running ``pip`` below, make sure the branch is correct (install
from main!)
e) Install ``elm`` and its dependencies by running:
``pip install .`` (or ``pip install -e .`` if running a dev branch
or working on the source code)
.. inclusion-acknowledgements
Acknowledgments
===============
This work was authored by the National Renewable Energy Laboratory, operated by Alliance for Sustainable Energy, LLC, for the U.S. Department of Energy (DOE) under Contract No. DE-AC36-08GO28308. Funding provided by the DOE Wind Energy Technologies Office (WETO), the DOE Solar Energy Technologies Office (SETO), and internal research funds at the National Renewable Energy Laboratory. The views expressed in the article do not necessarily represent the views of the DOE or the U.S. Government. The U.S. Government retains and the publisher, by accepting the article for publication, acknowledges that the U.S. Government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this work, or allow others to do so, for U.S. Government purposes.
Raw data
{
"_id": null,
"home_page": "https://github.com/NREL/elm",
"name": "NREL-elm",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "elm",
"author": "Grant Buster",
"author_email": "grant.buster@nrel.gov",
"download_url": "https://files.pythonhosted.org/packages/74/8d/c564cd6e41a87138fe3d70ea1169c282a63b53d20ece1ed686fd7818d2b4/NREL-elm-0.0.7.tar.gz",
"platform": null,
"description": "***************************\nEnergy Language Model (ELM)\n***************************\n\n.. image:: https://github.com/NREL/elm/workflows/Documentation/badge.svg\n :target: https://nrel.github.io/sup3r/\n\n.. image:: https://github.com/NREL/elm/workflows/pytests/badge.svg\n :target: https://github.com/NREL/elm/actions?query=workflow%3A%22pytests%22\n\n.. image:: https://github.com/NREL/elm/workflows/Lint%20Code%20Base/badge.svg\n :target: https://github.com/NREL/elm/actions?query=workflow%3A%22Lint+Code+Base%22\n\n.. image:: https://img.shields.io/pypi/pyversions/NREL-elm.svg\n :target: https://pypi.org/project/NREL-elm/\n\n.. image:: https://badge.fury.io/py/NREL-elm.svg\n :target: https://badge.fury.io/py/NREL-elm\n\n.. image:: https://zenodo.org/badge/690793778.svg\n :target: https://zenodo.org/doi/10.5281/zenodo.10070538\n\nThe Energy Language Model (ELM) software provides interfaces to apply Large Language Models (LLMs) like ChatGPT and GPT-4 to energy research. For example, you might be interested in:\n\n- `Converting PDFs into a text database <https://nrel.github.io/elm/_autosummary/elm.pdf.PDFtoTXT.html#elm.pdf.PDFtoTXT>`_\n- `Chunking text documents and embedding into a vector database <https://nrel.github.io/elm/_autosummary/elm.embed.ChunkAndEmbed.html#elm.embed.ChunkAndEmbed>`_\n- `Performing recursive document summarization <https://nrel.github.io/elm/_autosummary/elm.summary.Summary.html#elm.summary.Summary>`_\n- `Building an automated data extraction workflow using decision trees <https://nrel.github.io/elm/_autosummary/elm.tree.DecisionTree.html#elm.tree.DecisionTree>`_\n- `Building a chatbot app that interfaces with reports from OSTI <https://github.com/NREL/elm/tree/main/examples/energy_wizard>`_\n\nInstalling ELM\n==============\n\n.. inclusion-install\n\nNOTE: If you are installing ELM to run ordinance scraping and extraction,\nsee the `ordinance-specific installation instructions <https://github.com/NREL/elm/blob/main/elm/ords/README.md>`_.\n\nOption #1 (basic usage):\n\n#. ``pip install NREL-elm``\n\nOption #2 (developer install):\n\n#. from home dir, ``git clone git@github.com:NREL/elm.git``\n#. Create ``elm`` environment and install package\n a) Create a conda env: ``conda create -n elm``\n b) Run the command: ``conda activate elm``\n c) ``cd`` into the repo cloned in 1.\n d) Prior to running ``pip`` below, make sure the branch is correct (install\n from main!)\n e) Install ``elm`` and its dependencies by running:\n ``pip install .`` (or ``pip install -e .`` if running a dev branch\n or working on the source code)\n\n.. inclusion-acknowledgements\n\nAcknowledgments\n===============\n\nThis work was authored\u00a0by the National Renewable Energy Laboratory, operated by Alliance for Sustainable Energy, LLC, for the U.S. Department of Energy (DOE) under Contract No. DE-AC36-08GO28308. Funding provided by\u00a0the DOE Wind Energy Technologies Office (WETO), the DOE Solar Energy Technologies Office (SETO), and internal research funds at the National Renewable Energy Laboratory. The views expressed in the article do not necessarily represent the views of the DOE or the U.S. Government. The U.S. Government retains and the publisher, by accepting the article for publication, acknowledges that the U.S. Government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this work, or allow others to do so, for U.S. Government purposes.\n\n\n",
"bugtrack_url": null,
"license": "BSD 3-Clause",
"summary": "Energy Language Model",
"version": "0.0.7",
"project_urls": {
"Homepage": "https://github.com/NREL/elm"
},
"split_keywords": [
"elm"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0853ad04d93c9e59ee7c6b6a332f61094abc34528e53c5e4baec878f555e995c",
"md5": "f691e6b80489fb2370d9798814355630",
"sha256": "bae4b599c9184a8f1cf58f7c8a6ba7f49e7e5fabf06c39aee47dbc12d7b6a661"
},
"downloads": -1,
"filename": "NREL_elm-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f691e6b80489fb2370d9798814355630",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 109627,
"upload_time": "2024-11-12T22:46:50",
"upload_time_iso_8601": "2024-11-12T22:46:50.738375Z",
"url": "https://files.pythonhosted.org/packages/08/53/ad04d93c9e59ee7c6b6a332f61094abc34528e53c5e4baec878f555e995c/NREL_elm-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "748dc564cd6e41a87138fe3d70ea1169c282a63b53d20ece1ed686fd7818d2b4",
"md5": "28c0afe49050ec51971ec63810a60d38",
"sha256": "90c6a756562eaa394655bda3f0cccb6d56b2541d90ff80442d75e542b68192ff"
},
"downloads": -1,
"filename": "NREL-elm-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "28c0afe49050ec51971ec63810a60d38",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 87195,
"upload_time": "2024-11-12T22:46:53",
"upload_time_iso_8601": "2024-11-12T22:46:53.322731Z",
"url": "https://files.pythonhosted.org/packages/74/8d/c564cd6e41a87138fe3d70ea1169c282a63b53d20ece1ed686fd7818d2b4/NREL-elm-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-12 22:46:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NREL",
"github_project": "elm",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [
{
"name": "openai",
"specs": [
[
">=",
"1.1.0"
]
]
},
{
"name": "aiohttp",
"specs": []
},
{
"name": "click",
"specs": []
},
{
"name": "fake_useragent",
"specs": []
},
{
"name": "html2text",
"specs": []
},
{
"name": "langchain",
"specs": []
},
{
"name": "lxml",
"specs": []
},
{
"name": "matplotlib",
"specs": []
},
{
"name": "networkx",
"specs": []
},
{
"name": "nrel-rex",
"specs": []
},
{
"name": "nltk",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "pandas",
"specs": []
},
{
"name": "playwright",
"specs": []
},
{
"name": "PyPDF2",
"specs": []
},
{
"name": "python-slugify",
"specs": []
},
{
"name": "scipy",
"specs": []
},
{
"name": "tabulate",
"specs": []
},
{
"name": "tiktoken",
"specs": []
},
{
"name": "beautifulsoup4",
"specs": []
}
],
"lcname": "nrel-elm"
}