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

feat: make interaction conversational #161

Open
toomuchdesign opened this issue Apr 12, 2023 · 1 comment
Open

feat: make interaction conversational #161

toomuchdesign opened this issue Apr 12, 2023 · 1 comment

Comments

@toomuchdesign
Copy link
Contributor

Currently bot answers are not able to take into account questions and answers previously exchanged in the same conversation.

In order to make the interaction more conversational we might consider fetching the last few conversation messages (https://api.slack.com/methods/conversations.history) and provide those as createChatCompletion payload (using proper user/assistant roles).

This way a user should be able to ask extra details about the previous answer without rephrasing the whole subject.

@toomuchdesign
Copy link
Contributor Author

toomuchdesign commented Apr 12, 2023

Provided a failing implementation attempt here: #163

@toomuchdesign toomuchdesign removed their assignment Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant