jupyterlab / jupyter-ai

A generative AI extension for JupyterLab
https://jupyter-ai.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
3.02k stars 299 forks source link

Add frontend plugin to allow for a custom React component to be rendered under each message #867

Open dlqqq opened 2 weeks ago

dlqqq commented 2 weeks ago

Problem

Some developers configuring Jupyter AI with their own custom extension would like to be able to render a custom React component under each message in the UI. This allows for a wide range of capabilities, such as rendering a feedback button under each AI message.

Proposed Solution

michaelchia commented 2 weeks ago

when this is done, would it be possible to provide an example in the docs or elsewhere how to implement feedback buttons with this feature?