Open AI experimentation playground
Download from https://github.com/christianromney/aporia
You must set the OPENAI_API_KEY environment variable to run this code.
Having done that, you may...
Run the project directly, via :main-opts (-m aporia.cli):
$ clojure -M:analysis-trainer (training | critiquing | expanding | contracting) "I think we need a better staging environment to help reduce the number of big production crashes." ~/Desktop/audio.mp3
Run the project's tests (they'll fail until you edit them):
$ clojure -T:build test
Run the project's CI pipeline and build an uberjar (this will fail until you edit the tests to pass):
$ clojure -T:build ci
This will produce an updated pom.xml file with synchronized dependencies inside the META-INF
directory inside target/classes and the uberjar in target. You can update the version (and SCM tag)
information in generated pom.xml by updating build.clj.
If you don't want the pom.xml file in your project, you can remove it. The ci task will
still generate a minimal pom.xml as part of the uber task, unless you remove version
from build.clj.
Run that uberjar:
$ java -jar target/net.clojars.aporia/aporia-0.1.0-SNAPSHOT.jar