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
useChat has currently the option to add a body property to send extra context to the server.
I'm suggesting to allow the ability to send extra context when the user sends a chat prompt. for example:
The appearance status (light or dark)
The current step in a form wizard that is stored in the app state or in a query parm
A screenshot capture image of the current screen.
the current in an embedded video the user is at.
I know we can use append to send (system, assistant) messages but it will be nice to be able to send it with the message send by the user in chat in one transaction .
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
useChat has currently the option to add a body property to send extra context to the server.
I'm suggesting to allow the ability to send extra context when the user sends a chat prompt. for example:
I know we can use append to send (system, assistant) messages but it will be nice to be able to send it with the message send by the user in chat in one transaction .
Beta Was this translation helpful? Give feedback.
All reactions