WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Add support for event dispatching #142

@JasonTheAdams

Description

@JasonTheAdams

There's currently no way to catch eventful moments within the prompting process, such as before and after a prompt is fulfilled, or if it fails. Having events like this is useful, at the very least for systems such as logging.

We should implement the PSR-14 event dispatching interfaces so implementing systems can attach this to whatever event system they have. For WP AI Client we can connect this to actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature]New feature to highlight in changelogs.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions