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
Right now it's expected that the web developer keep track of previous inputs and outputs themselves; they can only get the "next" output from the model.
However, it might be useful to allow retrieving the full session-so-far from the model. An example API:
consthistory=awaitsession.history();// returns an array of { role, content } pairs
This overlaps as a feature request with #50, so if there are independent use cases besides saving to disk or transferring across contexts, please comment with them here.
The text was updated successfully, but these errors were encountered:
Right now it's expected that the web developer keep track of previous inputs and outputs themselves; they can only get the "next" output from the model.
However, it might be useful to allow retrieving the full session-so-far from the model. An example API:
This overlaps as a feature request with #50, so if there are independent use cases besides saving to disk or transferring across contexts, please comment with them here.
The text was updated successfully, but these errors were encountered: