This script facilitates the automation of contact generation processes within the evaluagent platform, offering functionalities such as audio uploads, API key management, and dynamic contact template generation based on user interactions.
Clone the repository and install the dependencies:
Npm install path fs chalk url inquirer axios form-data log-update chalk-animation figlet gradient-string music-metadata csv-parser adm-zip node-fetch
Navigate to the script directory and run the script with the following commands:
node gen help
- Display help information
node gen add [CONTRACT NAME] [API KEY]
- Add a contract name and api key to the keyFile.
node gen del [CONTRACT NAME]
- Delete a contract and API key from the keyFile.
node gen contacts
Initiate the contact generation process.
node gen import
Creates and exports chat conversation from any files stored in the import directory.
node gen
...
update
: Forces an update to latest version
clear chats [or] calls
: Removes all chats and calls from directories
log
: Displays the event log
changelog
: Displays current version's change log