wkok.openai-clojure.sse

(source)
Public Variable Short Description
calc-buffer-size (clj) Buffer size should be at least equal to max_tokens plus the [DONE] terminator.
deliver-events (clj)
event-mask (clj)
middleware (clj) The default list of middleware hato uses for wrapping requests but with added wrap-trace in the correct position to allow tracing of error messages.
perform-sse-capable-request (clj)
sse-events (clj) Returns a core.async channel with events as clojure data structures.
sse-request (clj) Process streamed results.
wrap-trace (clj) Middleware that allows the user to supply a trace function that will receive the raw request & response as arguments.