This project uses picocli to create a command that allows execution of an OpenAi request. OpenAi requires you to register and obtain an Api key. To run a request using this app you will need to set a system variable AI_API_KEY to the value you have in your OpenAi account.
To display help on how to run the app type the following in a command line
java -jar target/askai.jar -h
java -jar target/askai.jar -p "Suggest the best snooker players of all time"
To create a windows executable using GraalVm execute
mvn package -Pnative