Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render "Talk to Person" button #25

Open
Tracked by #48
svenseeberg opened this issue Jul 22, 2024 · 3 comments
Open
Tracked by #48

Render "Talk to Person" button #25

svenseeberg opened this issue Jul 22, 2024 · 3 comments
Labels
component:app Integreat App component:cms Integreat CMS enhancement New feature or request

Comments

@svenseeberg
Copy link
Member

Automatic answers should contain a button "talk to human". This will be normal HTML and the app has to render it as a button that triggers a specific message (i.e. "User wants to talk to human").

Zammad can use this text with a trigger to forward the issue to a human.

@svenseeberg
Copy link
Member Author

Alternative: new / amended Integreat CMS API endpoint that does something special to Zammad.

@svenseeberg
Copy link
Member Author

svenseeberg commented Oct 2, 2024

Do we need other buttons as well? We should probably discuss some kind of "actions schema". Currently, the API response contains a messages attribute. We could add an available_actions attribute?

{
  "messages": [],
  "available_actions": ["request_human", "end_chat"],
}

Alternatively, the actions could be per message, and usually only the actions for the latest message are rendered/shown.

@svenseeberg svenseeberg added component:app Integreat App component:cms Integreat CMS labels Oct 4, 2024
@svenseeberg
Copy link
Member Author

Alternatively, we could add a new attribute to our Zammad issues, which indicated that the chat bot should not answer at all. We can then add an info to the first automatic answer that the user can always request to talk/write to a human. We can have an LLM evaluate each message if the user wants that and in such a case set the "silence bot" attribute in Zammad. Zammad can then have a trigger bumping this issue to a human.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:app Integreat App component:cms Integreat CMS enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant