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

Automatic conversation titles #1

Open
derikk opened this issue Dec 10, 2023 · 2 comments
Open

Automatic conversation titles #1

derikk opened this issue Dec 10, 2023 · 2 comments

Comments

@derikk
Copy link
Contributor

derikk commented Dec 10, 2023

ChatGPT creates a title for each new conversation after the first AI response. Perhaps this could be implemented in Ava as well?
The prompt is something like "Summarize the above conversation to create a title for the conversation in exactly 1-4 words, in the same language as the conversation."

@cztomsik
Copy link
Owner

cztomsik commented Dec 11, 2023

Thanks for opening this, it was doing exactly this before but it's very hard to find correct prompt for different models. Especially the smaller ones are super-sensitive to any prompt changes. So in the end, I left it out for later.

Edit: if anyone wants to pick it up, the further I got was something like:

USER: Can you summarize my request in one sentence, suitable as title?
ASSISTANT: Sure! Here's the conversation summarized in one sentence, which could be used as a title:

And then the model sometimes got it right, sometimes it was okish and sometimes it was plain wrong. Also, it might be simpler to do with JSON sampling.

@pmarreck
Copy link

I'd say "Summarize this conversation as a short document title. Do not editorialize, only output the best title for this interaction."

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

3 participants