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

Allow responding to chatgpt answers #7

Open
Nikurasuu opened this issue Mar 16, 2023 · 0 comments
Open

Allow responding to chatgpt answers #7

Nikurasuu opened this issue Mar 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Nikurasuu
Copy link
Owner

In order to have full conversations with the chatgpt command, the user had to copy and paste the old messages to keep the information needed for the full conversation.

The ChatGPT API allows to keep track of conversations by adding the parent message id to the prompt. But this parent message id needs to be stored somewhere together with the discord message id, in order to keep track of conversations.

Another more simple way would be to just copy the message the user is responding to and just add it before to the prompt, but this would probably use more tokens as the prompt gets bigger.

@Nikurasuu Nikurasuu added the enhancement New feature or request label Mar 16, 2023
@Nikurasuu Nikurasuu self-assigned this Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant