City Consultation Report Generator is an AI-powered app that streamlines the creation of detailed and comprehensive city consultation reports. Users can input specific variables, allowing the app to create unique, tailored content. Using advanced AI technology, the app provides a systematic and concise overview of city-planned public consultations. Key features include outlining the purpose, participant details, methodology, main findings, and impacts, while aligning feedback from both the local community and city planners. Potential steps post-consultation are also provided, serving as a pivotal guide for future policy changes and actions.
To run this app online: City Consultation Report Generator Online
To learn more about AI Apps for City Planner use-cases in the Local Government Administration industry, read How to Propel Urban Planning with AI-aided Tools
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 ./city_consultation_report_generator.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 ./city_consultation_report_generator.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 ./city_consultation_report_generator.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 ./city_consultation_report_generator.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 ./city_consultation_report_generator.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