(stream context)
(stream context params)
Create a stream of responses to the given context
Create a stream of responses to the given context
(transpose stream output)
Consume a stream. Writes incremental output to the given core async channel. The output channel will receive payloads of the format {:type :text :content <string>}
Returns a map with the final response to be added to context
Consume a stream. Writes incremental output to the given core async channel. The output channel will receive payloads of the format {:type :text :content <string>} Returns a map with the final response to be added to context
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close