API Response shape to ask the /learn end point to learn from conversation history and pass back "notes", an array of notes are provided that should be stored in the database to then be passed into future Skip API requests for analysis/etc.

Constructors

Properties

elapsedTime: number

The number of milliseconds that have elapsed since the learning cycle process started

error?: string

If the learning cycle was not successful, this property will contain an error message that describes the reason for the failure

learningCycleSkipped?: boolean

If a learning cycle is skipped because there is no new conversation data to learn from, this property will be set to true

The notes that were generated by the Skip API server during the learning cycle process

This provides an array of changes requested by Skip to the MJ database for queries, adding, updating and/or deleting.

This array should be populated by the agent with any changes to requests - deleting existing requests that have not been responded to yet and for whatever reason are not relevant anymore, updating existing requests that haven't yet been responded to, and adding new requests to help the agent learn.

success: boolean

Indicates if the learning cycle was successful or not