This script post messages to the so-called "Evergreen" project to simulate a live Compass project that creates a new batch of unsupervised topics at regular intervals, so sales people will have something to demo. As messages (and classifications) accumulate, the old and tired UI becomes more an more unresponsive.
The present modification adds a step that will delete messages (and classifications) older than a day every time it POSTs a batch of messages. It does so via the little-know (and undocumented) /purge endpoint.
This script post messages to the so-called "Evergreen" project to simulate a live Compass project that creates a new batch of unsupervised topics at regular intervals, so sales people will have something to demo. As messages (and classifications) accumulate, the old and tired UI becomes more an more unresponsive.
The present modification adds a step that will delete messages (and classifications) older than a day every time it
POST
s a batch of messages. It does so via the little-know (and undocumented)/purge
endpoint.