Handles, you guessed it! Memory! - It has both in-session and persistent memories (datastore)


How it works

  1. In-Session
    1. Creates a memory table
    2. When updating we insert a table to the memory table: { Role: string, Content: string }
    3. And just return the memory table when reading
    4. Fires MaxEntriesExceeded once MaxEntries exceeds
  2. Persistent
    1. Uses Datastores with the SessionId as the key
    2. Saves, Updates, and Returns a table inside the datastore
    3. Fires MaxEntriesExceeded once MaxEntries exceeds

Constructor

Methods

In-session:

Persistent:

Properties & Signals