Skip to main content

This package provides tools powered by AI, both for editors as for anonymous visitors

Project description

collective.aitools

This package provides tools powered by AI, both for editors as for anonymous visitors

Features

All features are individually enabled and configured (model, prompt) from the AI Tools control panel, and reach a model through collective.aisettings (configure your provider/models in AI Settings).

Editor tools (buttons on the classic-UI add/edit forms; fill a field only when it's empty):

  • Summarize — generate a Description / summary from the item's body text (also usable as the SEO meta description).
  • Suggest tags — propose Subject keywords from the body text, reusing tags already in use on the site where possible.
  • Get image details — title, description (alt text) and tags for an item's image, using a vision model.
  • Help me write — drafting and rewriting assistance (start a draft, grammar check, change tone).

Assistant — a floating chat widget for authenticated users. It's agentic: it can call capabilities to ground its answers and guide editors, rather than guessing. Built-in capabilities:

  • Search the site — full-text search (respects each user's permissions).
  • Where to add — suggest folders where a given content type can be created.
  • Propose a draft — from a rough brief, generate a draft (title, summary, body) for the editor to confirm and then adjust. Content is only created after an explicit confirmation, and always re-validated server-side.

Loose content-type names ("page", "news", "article", …) are accepted, and add-ons can contribute their own synonyms by registering an IContentTypeSynonyms utility.

Installation

Install collective.aitools with uv.

uv add collective.aitools

Create the Plone site.

make create-site

Contribute

Prerequisites ✅

Installation 🔧

  1. Clone this repository.

    git clone git@github.com:collective/collective-ai-tools.git
    cd collective-ai-tools/backend
    
  2. Install this code base.

    make install
    

Add features using plonecli or bobtemplates.plone

This package provides markers as strings (<!-- extra stuff goes here -->) that are compatible with plonecli and bobtemplates.plone. These markers act as hooks to add all kinds of features through subtemplates, including behaviors, control panels, upgrade steps, or other subtemplates from bobtemplates.plone. plonecli is a command line client for bobtemplates.plone, adding autocompletion and other features.

To add a feature as a subtemplate to your package, use the following command pattern.

make add <template_name>

For example, you can add a content type to your package with the following command.

make add content_type

You can add a behavior with the following command.

make add behavior
You can check the list of available subtemplates in the [`bobtemplates.plone` `README.md` file](https://github.com/plone/bobtemplates.plone/?tab=readme-ov-file#provided-subtemplates).
See also the documentation of [Mockup and Patternslib](https://6.docs.plone.org/classic-ui/mockup.html) for how to build the UI toolkit for Classic UI.

License

The project is licensed under GPLv2.

Credits and acknowledgements 🙏

Generated using Cookieplone (2.0.0b3) and cookieplone-templates (4aa42c6) on 2026-06-29 18:13:58.341660. A special thanks to all contributors and supporters!

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

collective_aitools-1.1.2.tar.gz (576.5 kB view details)

Uploaded Source

Built Distribution

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

collective_aitools-1.1.2-py3-none-any.whl (408.7 kB view details)

Uploaded Python 3

File details

Details for the file collective_aitools-1.1.2.tar.gz.

File metadata

  • Download URL: collective_aitools-1.1.2.tar.gz
  • Upload date:
  • Size: 576.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for collective_aitools-1.1.2.tar.gz
Algorithm Hash digest
SHA256 b0568c89e96b632150612e8b8427d17745916c9b940247f206e0786545ff7d7c
MD5 02e8d0918ecac69e56a4b39c3cf5c46d
BLAKE2b-256 175da4009694d4fe07f481f5f077c9d2407bac43c1480c8a49ae5f314cfcdf64

See more details on using hashes here.

File details

Details for the file collective_aitools-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: collective_aitools-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 408.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for collective_aitools-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f27e2ab7c724cc33deee003663a1d4184619a879ac1d28843ced85b77a24d06a
MD5 2a9ccca922e58abfc8df8d56d8c85af6
BLAKE2b-256 13893ecab9169eb65c6b96e55b0f76f58e1e2d0d686a268c6fc0809d1c8d1190

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