You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Export a new token & type, e.g. MessageAddition. The type expected by Jupyter AI should be that of a React component which takes a single message: AiService.ChatMessage prop.
Optionally request an implementation by listing it within the optional field of the root plugin object in packages/jupyter-ai/src/index.ts.
If this component is provided, then render this under each message in the chat.
The text was updated successfully, but these errors were encountered:
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
MessageAddition
. The type expected by Jupyter AI should be that of a React component which takes a singlemessage: AiService.ChatMessage
prop.optional
field of the rootplugin
object inpackages/jupyter-ai/src/index.ts
.The text was updated successfully, but these errors were encountered: