Plantoidz / mechanical-garden-FA

Multimodal mechanical plantoid garden repository.
3 stars 3 forks source link

Message history: write a summarizer function to reset context window #17

Open benrito opened 2 months ago

benrito commented 2 months ago

I think there's a simple implementation of this already, let's discuss?

benrito commented 2 months ago

MVP: Start from scratch every 10 turns (this is the current behavior)

Stretch goal: Enable the conversation to continue indefinitely with periodic conversation nudges (from stimulus)

This depends first on:

  1. implementing logging / saving

  2. implementing a really good summarizing function for context management

  3. check the context management and test it thoroughly before proceeding, ensuring that we are storing the right units of interaction with the right metadata;

  4. create a flag in setup to enable continuous with summarization, option 1: every n turns, the simulator resets and it's effectively a new intertion option 2: doesn't reset the simulator or clear the message cute, just nudge the conversation by loading a new stimulus