Hi Telerik Team,
We are currently prototyping with TelerikAIPrompt.
We want to implement a conversation context feature, so I’m wondering how we can clear the output in order to load new data bound to another conversationId.
I only see an AddOutput method, but there doesn’t seem to be a way to remove or clear existing outputs.
Does this mean I should manually rewrite the OutputItemsTemplate and Views, etc... and manage my own collection instead of relying on the @context available inside the OutputItemTemplate?
I believe many people must have run into this issue, but I haven’t been able to find any related forum posts, knowledge-base articles, or demos.
Thanks!
Bohdan
We are currently prototyping with TelerikAIPrompt.
We want to implement a conversation context feature, so I’m wondering how we can clear the output in order to load new data bound to another conversationId.
I only see an AddOutput method, but there doesn’t seem to be a way to remove or clear existing outputs.
Does this mean I should manually rewrite the OutputItemsTemplate and Views, etc... and manage my own collection instead of relying on the @context available inside the OutputItemTemplate?
I believe many people must have run into this issue, but I haven’t been able to find any related forum posts, knowledge-base articles, or demos.
Thanks!
Bohdan
I feel that combining prompt and output into a single standard view makes the most sense, and dialog context should really be the minimum feature – if not a base standard as well. Is this something Telerik is considering to change/add in the future?
Right now it creates an unnecessary challenge to implement a chat flow this way with more robust functionality with more complex UI/UX requirements. For example, when we build our own template to join Ask and Output, we lose the skeleton loading experience while the prompt is being processed, so we should create our own logic for that...
I am referencing to this forum post:
Joining AIPrompt views
Thanks!
Bohdan