Skip to main content

A CLI tool to generate responsible AI checklists for machine learning projects.

Project description

Responsible AI Checklist CLI

PyPI version License Python Versions

A command-line tool to easily add customizable responsible AI checklists to data science, Generative AI, or traditional machine learning projects. This tool helps ensure that AI projects adhere to ethical guidelines and best practices throughout their lifecycle.

This CLI compliments the RAI Auditor UI currently in development.

RAI Checklist UI Screenshot

Features

  • Generate customizable AI responsibility checklists
  • Support for various output formats (.md, .html, .ipynb)
  • Easily integrate into existing projects or create standalone checklists
  • Customizable checklist sections

Installation

Install the Responsible AI Checklist CLI using pip:

pip install rai-checklist-cli

Usage

The basic syntax for using the CLI is:

rai-checklist [OPTIONS]

Options:

  • --help: Show help message and exit
  • -w, --overwrite: Overwrite existing output file
  • -o, --output PATH: Specify output file path
  • -f, --format TEXT: Specify output format (md, html, ipynb)
  • -l, --checklist PATH: Path to custom checklist file

Example

Generate a markdown checklist:

rai-checklist -o checklist.md -f md

Checklist Sections

The default checklist includes the following sections:

  • Project Motivation
  • Problem Definition
  • Performance Measurement
  • LLM-Specific Evaluation Metrics
  • Ethical Considerations
  • Roadmap/Timeline
  • Contacts/Stakeholders
  • Collaboration
  • User Research Aspects
  • End User Definition
  • End User Testing
  • Deployment and Monitoring
  • Continual Improvement

Customization

You can customize the checklist by creating a YAML file with your desired sections and items. Use the -l or --checklist option to specify your custom checklist file when running the CLI.

For more information on creating custom checklists, please refer to the documentation.

Contributing

Contributions are welcome! Here's how you can contribute to the project:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature-name)
  3. Make your changes
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin feature/your-feature-name)
  6. Create a new Pull Request

Please make sure to update tests as appropriate and adhere to the code of conduct.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This project was inspired by and builds upon the work of several existing tools and individuals:

Contributors

We're grateful for the open-source community and the valuable resources that have made this project possible.


Note: This project is currently in development. Features and documentation may be incomplete or subject to change.

TODO:

  • Complete the documentation for custom checklists
  • Add more examples and use cases
  • Include frontend-UI (see screenshot)
  • Set up continuous integration and testing
  • Add detailed contribution guidelines

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

rai_checklist_cli-0.2.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

rai_checklist_cli-0.2.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file rai_checklist_cli-0.2.0.tar.gz.

File metadata

  • Download URL: rai_checklist_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for rai_checklist_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5c36c1f7f79461c3c9a95acc15154e521287b90867b25611903ab3d70124aa3e
MD5 7452aa2aada49cd0bd0a1a466984dbab
BLAKE2b-256 82ddec18bd658fb483cf26ff74ae329fbb46b91df139185ab6cab9ca54f0f269

See more details on using hashes here.

File details

Details for the file rai_checklist_cli-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rai_checklist_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acb8944649a3bce2eb48782211dee2c3b3f8b2f48f0fc2a2f21941ed684ee8a4
MD5 e97e82daccf64349e7b0792fb7851a52
BLAKE2b-256 c596eb7aa3ec08217828c65c24b4806ad75cb136b0c9e55c8a4f9bdc430394a2

See more details on using hashes here.

Supported by

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