Skip to content

Execute a request using the OpenAi API. Runs on the command line using picocli

Notifications You must be signed in to change notification settings

marcusblackhall/cliai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ai Search Runner

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.

Usage

To display help on how to run the app type the following in a command line

java -jar target/askai.jar -h 

Example usage

java -jar target/askai.jar -p "Suggest the best snooker players of all time"

Create an executable

To create a windows executable using GraalVm execute

mvn package -Pnative

Screen recording of usage

asciicast

About

Execute a request using the OpenAi API. Runs on the command line using picocli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages