Resetting AI Models

To reset AI models, follow the guide at Enable/Disable Features and run the command: npm run dist-admin-cli -- mass-reset-ai --orgId=<ORG_ID>

Deleting Resources

Deleting Jobs via Database

  • After accessing your Lilt DB and given you know the id of the corrupt job you can simply update the isDeleted and deletedAt rows as so
  • Change the deletedAt date and id to the relevant values
  • UPDATE lilt_dev.Jobs t
    SET t.isDeleted = 1, t.deletedAt = ‘2024-06-06 09:18:03’
    WHERE t.id = 9;

Deleting Default DataSource via Database

  • Similarly to delete the default data source you will do a similar process on the Memories table
  • Change the deletedAt date and id to the relevant values
  • UPDATE lilt_dev.Memories t
    SET t.isDeleted = 1, t.deletedAt = ‘2024-06-06 09:33:21’
    WHERE t.id = 1;

Finding ID of the DataSource

  • Simply navigate to the datasource you want to delete and the route should be something like this, /app/memories/<id here>/edit/resources

Finding the ID of the Corrupt Job

  • There isn’t enough information for us to correctly identity it, we believe the best way might be to just visit every job this user has to see if it will load or not. If a job doesn’t load it’s a likely candidate to deletion
  • Jobs URL should look like this, /app/jobs/<id here>/projects
  • Getting a list of jobs from the database should be as follows, simply swap out the UserId with the correct one.
  • SELECT * FROM lilt_dev.Jobs WHERE UserId = 2