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

RAI Checklist CLI Screenshot

Table of Contents

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:

caiticli [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:

caiticli -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.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

rai_checklist_cli-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rai_checklist_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 7.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 6ae2616f392ecb3b42b77b524dd42f3724a065714c373ee0aa7ae1634118c746
MD5 3119a5a68254d85038d7966f608c1b7d
BLAKE2b-256 64f0bc6fbbf1ed5e420ae6ce8b85af4083d564afc6a472d2c09713e98ff81590

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rai_checklist_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1969e5fab5917054804bffdd04772af99f53b28a93d54da5cb8f73e4cdad8f59
MD5 656bf41c53cb987af5679c17f47f49cf
BLAKE2b-256 4fac9dd38b745f9e9f967ce6e1f1747418e1dbcd4f52200129ddae1749123310

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