madebywelch / anthropic-go

Go SDK for Anthropic's Claude, a next-generation AI assistant for your tasks, no matter the scale.
Other
34 stars 16 forks source link

Implement Stream #2

Closed frankgreco closed 1 year ago

frankgreco commented 1 year ago

The OpenAI Golang SDK has a good pattern for streaming. It would be nice to see that here as well.

madebywelch commented 1 year ago

good idea, streaming has been implemented

frankgreco commented 1 year ago

Is it? Could you point me to it? I see there's a stream request param but I don't see how we return a channel or iterator to the client to process the chunks as they're streamed in.

frankgreco commented 1 year ago

Oh you just added it! Wow thanks!