chatcraft.org icon indicating copy to clipboard operation
chatcraft.org copied to clipboard

Add a tool to process conversations

Open tarasglek opened this issue 1 year ago • 1 comments

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)

tarasglek avatar Jun 18 '23 11:06 tarasglek