chatcraft.org
chatcraft.org copied to clipboard
Add a tool to process conversations
I was thinking of how to handle running out of context and excessive message histories for code generation.
I think only way out is to add ask gpt to generate code to perform transformations and to have a way to apply that.
prompt would look something like 'Given message api ....., write a JS function to transform messages like .....".
Then i could say "use conversationformer tool to delete all openai replies except for last one", and run it.
(Note this obviously much more complicated than I described..eg this probably has to get handled in a separate convo thread, we might wanna save the chat prior to transform, etc)