Livestreaming typing animation #5141 | impact on operational costs chatbots #5188
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
customer-replied-to
Required for internal reporting. Do not delete.
customer-reported
Required for internal Azure reporting. Do not delete.
question
Further information is requested. Stack Overflow candidate
I have a question
Hi Team,
I noticed the new streaming feature is available and I'm looking forward to implementing it for my customers. However, I have a short question about its feasibility.
We are charged for the use of Directline on a per message basis. Messages are (according to the pricing page) Activity objects being sent to the Bot’s endpoint via HTTP POST or from bot to user.
When a long answer is generated by an LLM, I could wait until it's finished and send it as one HTTP call. Alternatively, I could start streaming right away, which might result in multiple HTTP calls (start, content, finish), or even more.
If every chunk is an HTTP call, I am not sure if this solution will be feasible due to the additional costs (approximately 50 cents per 1000 chunks).
I did notice the line "Livestream is more-or-less 'multiple revisions of the same activity'," but I am not sure how to interpret it.
Thank you.
The text was updated successfully, but these errors were encountered: