wkok.openai-clojure.sse
(source)For more info about this library see:
https://cljdoc.org/d/net.clojars.wkok/openai-clojure/0.15.0/api/wkok.openai-clojure.apiPublic Variable | Short Description |
---|---|
->InfiniteBuffer (clj) | |
InfiniteBuffer (clj) | |
calc-buffer-size (clj) | - Use stream_buffer_len if provided. |
deliver-events (clj) | |
event-mask (clj) | |
infinite-buffer (clj) | |
make-buffer (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. |