I tested the 'survival computer' that has all the offline utility you need - including AI ...
#include "secrets.h" // Wifi & Database credentials. const char* ssid = WIFI_SSID; // Use data from secrets.h const char* password = WIFI_PASSWORD; // Use data from secrets.h ...