amosproj / amos2023ws01-ticket-chat-ai

MIT License
3 stars 1 forks source link

[FE + BE] Feedback-Loop #57

Open thogebati opened 10 months ago

thogebati commented 10 months ago

Prerequisites:

The AI asks back to the FE if it needs more information. Mandatory pieces of information comprise the following:

Link to chat

The link used to prompt the user for further details should follow a logical structure (e.g. parameters as the ticket id) to allow the user to open the chat later on. The chat history should be saved, thus, always be displayed when user open the link at a later point in time.

WebApp

As soon as further information are required, the link is changed in such a way it can be accessed later on.

Case 1: RequestType cannot be recognized If the RequestType does not correspond with allowed values the user is asked explicitely: "Es tut mir sehr leid, aber leider kann ich nicht erkennen, um welchen Tickettypen es sich handelt. Ist es ein [1.] Issue oder [2.] ein Service Request?"

Case 2: Service cannot be recognized Case 2.1: AI could detect that no topic service is responsible but no location can be drawn from the database

Case 2.2: A service has been indicated that is not defined in the possible values

Always (after cases 1&2 in case of missing information) The ticket is printed in table format with the question: "Das wäre Dein IT-Ticket, das ich anlegen würde. Sind die enthaltenen Informationen so korrekt?"

Below the input field two possible options should appear: "Ja, das passt für mich" and "Nein, ich möchte noch etwas anpassen".

E-Mail

If the user submitted the ticket via mail and further information is necessary, he will receive the following email as a response to his initial mail:

"Hallo!

leider benötige noch Informationen zu Deinem Ticket. Bitte füge diese über die Talktix web app hinzu [link to webapp].

Vielen Dank!, Talktix"

From then on, users who initially used email follow the same logic as users that employed the Talktix web app from the beginning.

Incomplete Tickets

Case 1: User did not engage with chatbot within the first 24 hours If users should not provide missing information or fail to engage with the chatbot, they should receive an E-mail after 24 hours with the following content:

"Hallo,

leider benötige noch Informationen zu Deinem Ticket. Bitte füge diese über die Talktix WebApp hinzu [link to webapp]. Wenn innerhalb der nächsten 24 Stunden keine weiteren Angaben gemacht werden, gehen wir davon aus, dass Deine Anfrage gelöst wurde.

Vielen Dank!, Talktix"

Case 2: User did respond to chatbot at least once but not sufficient to create ticket Incomplete ticket with at least one interaction with the chatbotare to be deleted 24 hours after the first response. Then, the user should receive an email with the following message:

"Hallo,

leider waren wir nicht in der Lage, Dein Ticket über die Talktix WebApp innerhalb von 24 Stunden fertigzustellen. Wenn Dein Anliegen weiterhin besteht, erstelle bitte ein neues Ticket.

Viele Grüße, Talktix"

Case 3: User received reminder to provide additional data (see case 1) but did not follow through within 24 hours If the user should not provide further information within 24 hours after receiving the reminder, the preliminary ticket is to be deleted.

Acceptance criteria

Definition of done (DoD)

DoD general criteria

thogebati commented 10 months ago

Wie machen wir das mit den Mails?

AnnaH3003 commented 10 months ago

USe Case: alles hat geklappt