dnceng icon indicating copy to clipboard operation
dnceng copied to clipboard

AI Chatbot for DNCEng Docs: Scale Azure Chatbot & Improve Data Ingestion

Open jlipscomb071 opened this issue 2 years ago • 4 comments

  1. Explore Scaling Azure AI Studio Chatbot to include:
  • Matrix of truth
  • Info from Issues
  • PR Discussions
  • Teams Channel info
  • Wiki Docs
  1. Investigate autonomous index updates for Azure AI Studio chatbot that triggers when new docs are added

  2. Ignore stale docs for Azure AI Studio chatbot data ingestion procedure

jlipscomb071 avatar Aug 10 '23 20:08 jlipscomb071

To evaluate the value of this effort, I analyzed the First Responder (FR) channel questions from the last month. Here are my findings.

Of a total of 52 questions:

  1. 3 questions could be answered today by a bot (with our current documentation), resulting in a total time savings of 12 minutes for this month.
  2. 8 questions could be addressed by a bot if we significantly invest in documentation, potentially saving up to an hour for this month.
  3. 40 questions couldn’t be handled by a bot.

The reasons behind the inability to address these 40 questions vary:

  • Many questions are related to tasks like approving permissions, adding secrets, or creating pipelines, all of which require manual intervention.
  • Some questions are formulated in a way that a bot wouldn’t be able to follow. For instance, users often send messages like “My build isn’t working; here’s the link,” providing minimal context. Similarly, images accompanied by queries like “Why am I getting this message?” pose challenges for automation.
  • Certain queries are complex and unique, falling outside the scope of routine tasks. These often lead to discussions, decision-making, and advice.
  • Questions related to recent event, such as system failures, require real-time updates, which may necessitate other bot features.

In summary, based on my brief analysis, the value of implementing a bot for these tasks appears relatively low (saving just over an hour of developer time per month). However, the effort involved is substantial:

  1. Bot Development: Creating and maintaining the bot.
  2. Documentation: Reviewing existing documentation and writing new content.
  3. Event Feeding: Keeping the bot informed about recent events (e.g., outages).
  4. Guidance: Assisting users in formulating explicit questions, with uncertain outcomes regarding user adoption.

AlitzelMendez avatar Feb 12 '24 22:02 AlitzelMendez

I'd love to see the data (the questions and the could/could not results). Are they someplace I can see?

garath avatar Feb 12 '24 23:02 garath

Some questions are formulated in a way that a bot wouldn’t be able to follow. For instance, users often send messages like “My build isn’t working; here’s the link,” providing minimal context. Similarly, images accompanied by queries like “Why am I getting this message?” pose challenges for automation.

Interesting find. The tricky part here is that if the users were faced with no options other than asking the bot, they would probably put more effort into their prompts when the bot tells them to be less vague. The users would then maybe look at their build errors, and reading the log is sometimes all that was needed in the first place.

riarenas avatar Feb 12 '24 23:02 riarenas

I'd love to see the data (the questions and the could/could not results). Are they someplace I can see?

Sure! this is the whole information: .NET Engineering Service bot

AlitzelMendez avatar Feb 14 '24 23:02 AlitzelMendez

I created a new issue for this. closing

AlitzelMendez avatar Jun 18 '24 15:06 AlitzelMendez