Skip to main content

Chemist AI Agent for Developing Materials Datasets with Natural Language Prompts

Project description

example workflow License: MIT Streamlit App PyPI version

Eunomia

AI Agent Chemist for Developing Materials Datasets

TOC

Iterative-Chain-of-Verification (CoV)

Eunomia employs a chain-of-verification process iteratively to minimize the likelihood of hallucination, as well as integrating chemistry-informed knowledge into decision-making and action-taking plannings of the LLM.

cov_with_flow

Live App

https://eunomia.streamlit.app/

Example 1: Molecular Targets and Peptide Sequences

VEGFR example

Example 2: Water Stable Metal-organic Frameworks

Water stability example

Example 3: Thermal Conductivity of Metal-organic Frameworks

Thermal conductivity example

Installation

pip install materials-eunomia

or you can clone the source code and install in developer mode:

git clone https://github.com/AI4ChemS/Eunomia.git && cd Eunomia
pip install -e .

You need to have a valid OPENAI API key. If you are on a windows machine you can add OPENAI_API_KEY in your Environment Variables. For linux systems set the key by adding this line to ~/.bashrc:

export OPENAI_API_KEY=your_api_key_here

Confirm correct installation by running the unittests:

cd tests && python -m unittest discover

Applying Other LLMs

Eunomia uses openAI's gpt-4 by default but you can use other LLMs for driving the agent as well. Check out this notebook for examples.

Citation

For more details checkout preprint and if you are using our methodology, please consider citing us using the citation below:

@misc{ansari2023agentbased,
      title={Agent-based Learning of Materials Datasets from Scientific Literature}, 
      author={Mehrad Ansari and Seyed Mohamad Moosavi},
      year={2023},
      eprint={2312.11690},
      archivePrefix={arXiv},
      primaryClass={cs.AI}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

materials_eunomia-1.1.0.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

materials_eunomia-1.1.0-py2.py3-none-any.whl (15.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file materials_eunomia-1.1.0.tar.gz.

File metadata

  • Download URL: materials_eunomia-1.1.0.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for materials_eunomia-1.1.0.tar.gz
Algorithm Hash digest
SHA256 550e0fc5c98e01808fcf94858dc09d37b283dc3f23ebbd0e987fbdda7d51d373
MD5 7198dbf7a32f6ae0f0e56de2b1510e85
BLAKE2b-256 768b7d102fa58df13925ee1aa847be7e5a1a591017cf11a6b250d192081c4cf0

See more details on using hashes here.

File details

Details for the file materials_eunomia-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for materials_eunomia-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c93f719b6e27a49cbeabdab5764d008da082a342bfd23c34bb2873d71c217c72
MD5 0616777647c3583ec8ecedb308395b05
BLAKE2b-256 bfd15f48bf868c58c70b824a2ec110791739747e5d58a1a5033cb4e9bc4c3662

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page