Open jodendaal opened 1 year ago
I have been looking at this. It appears RESTFulSense does not support posting an object and returning a stream. This may require another update to RESTFulSense.
@jodendaal I have a PR on RESTFulSense to support this.
Would be good to support the streaming method for the TextCompletion API.
In order to implement the streaming TextCompletion API RestFulSense may need to support a Streaming method that returns IAsyncEnumerable.
The key bits are
Example of why it would be usefull https://youtu.be/hRkVGSMijjs?t=647
Example code from existing project of how I done it.