| goose_stream_async | R Documentation |
Stream response that returns a promise for async handling
goose_stream_async(query, show_progress = TRUE)
query |
The query to execute |
show_progress |
Show progress during streaming |
A promise that resolves to the complete response
## Not run:
library(promises)
goose_stream_async("Explain promises") %...>%
{ cat("Complete response:", .) }
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.