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
It appears that it's not possible to modify the SharedString. I'm seeking a similar concept to VecModel, but specifically for strings.
I'm developing an OpenAI-based chatting tool that accepts HTTP SSE responses. To enhance the user experience, I intend to append each new word as it arrives. However, I've discovered that I can't modify the SharedString in the same manner as I can with Rc<ModelVec>. Consequently, I'm forced to reset the entire string every time.
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
-
It appears that it's not possible to modify the
SharedString
. I'm seeking a similar concept toVecModel
, but specifically for strings.I'm developing an OpenAI-based chatting tool that accepts HTTP SSE responses. To enhance the user experience, I intend to append each new word as it arrives. However, I've discovered that I can't modify the
SharedString
in the same manner as I can withRc<ModelVec>
. Consequently, I'm forced to reset the entire string every time.Beta Was this translation helpful? Give feedback.
All reactions