Project Update AI for Public Works brings instant insights into local government projects. User-specified variables produce high-quality, AI-curated project overviews. It covers updates, developments, progress, issues, budget, future steps, and project contributions. Unique insights are delivered using industry-specific terms, tailored for stakeholders in Local Government Administration.
To run this app online: Project Update AI for Public Works Online
To learn more about AI Apps for Public Works Director use-cases in the Local Government Administration industry, read How to Elevate Infrastructure Planning and Maintenance with AI
HeroML is an AI Prompt Chain/Workflow interpreter for Apps built on https://hero.page
To see other apps, visit the Hero Apps page or explore AI Apps for all industries in the blog section
For more documentation, visit Hero docs, and learn about AI App Workflows
Download VSCode Syntax Highlighter Ext. here
To install the HeroML CLI tool, you need to have Node.js and npm (comes with Node.js) installed on your machine. If you don't have these, please install them first.
Then, run the following command in your terminal:
npm install -g heroml
This will install the HeroML CLI tool globally on your system, allowing you to use the hero
command from any directory.
If you don't want to install it globally, you can run:
npm install heroml
and use it like:
npx hero run ./project_update_ai_for_public_works.heroml
We'll be using hero run ...
in this tutorial for simplicity.
Before using the HeroML CLI tool, you need to configure your OpenAI API key.
Create a heroconfig.json
file in your home directory with the following content:
{
"openaiApiKey": "your-openai-api-key"
}
Replace "your-openai-api-key"
with your actual OpenAI API key.
To run a HeroML script, use the run
command followed by the path to your script:
hero run ./project_update_ai_for_public_works.heroml
You can provide initial variable values as command-line options. For example, if your script expects a variable named number_of_colors
, you can provide its value as follows:
hero run --number_of_colors 4 ./project_update_ai_for_public_works.heroml
If you do not provide a value for a variable, the HeroML CLI tool will prompt you to enter it interactively.
You can specify the output directory and the filename of the output file using command-line options:
- The
-o
or--output-dir
option allows you to specify the output directory. By default, it is./outputs/
.
hero run --output-dir /custom/output/directory ./project_update_ai_for_public_works.heroml
- The
-f
or--filename
option allows you to specify the filename of the output file. By default, it isresponse_TIMESTAMP.json
.
hero run --filename custom_filename.json ./project_update_ai_for_public_works.heroml
The CLI tool writes the output to a JSON file in the specified directory. It will print the path of the output file to the console:
Success! Output written to /custom/output/directory/custom_filename.json