wkok / openai-clojure

Clojure functions to drive the OpenAI API
https://cljdoc.org/d/net.clojars.wkok/openai-clojure
MIT License
208 stars 28 forks source link

A way to get the raw response? #49

Closed aviflax closed 10 months ago

aviflax commented 10 months ago

Hi, nice library — thank you!

I’d like to store the raw responses in my database, exactly as they were returned from the OpenAI API.

Is there a way to access them?

If not, please consider this a feature request.

Thank you!

wkok commented 10 months ago

Hello!

This seems reasonable, see https://github.com/wkok/openai-clojure/pull/50