- API key for OpenAI.
- API key for Picovoice
- API key for ElevenLabs
- mpg123 installed
- node 18+
git clone https://gist.github.com/ericlewis/ccd3f0b7a17fcbe2473121a473082c8f- edit .env with your keys
| -- ## Kematzy Hasura AuditTrail | |
| -- This is based on the [Hasura/audit-trigger](https://github.com/hasura/audit-trigger). | |
| -- | |
| -- Changes from the Hasura version: | |
| -- 1. Simplified audit table schema with these changes: | |
| -- a. Renamed columns to lowerFirst format. | |
| -- b. Changed order of columns. | |
| -- c. Combined schema & table name into one column. | |
| -- d. Stores the record `id` UUID value in the `rowId` column. |
| if(!function_exists('_log')){ | |
| function _log($message) { | |
| if(is_array($message) || is_object($message)) { | |
| error_log(print_r($message, true)); | |
| } else { | |
| error_log($message); | |
| } | |
| } | |
| } |