I hereby claim:
- I am chrisblatchley on github.
- I am chrisblatchley (https://keybase.io/chrisblatchley) on keybase.
- I have a public key whose fingerprint is B67B 2569 E59B D0D5 08A3 C2AB 1FE6 2B9B C719 7563
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/local/bin/bb | |
(require '[babashka.curl :as curl]) | |
(require '[babashka.process :refer [sh]]) | |
; assume your api-key is stored in ~/openai.edn | |
(def openai-cfg (clojure.edn/read-string (slurp (str (System/getProperty "user.home") "/.openai.edn")))) | |
(defn pre-prompt | |
[prompt] |