OllamaStreamingGenerateResponseSpecification
class OllamaStreamingGenerateResponseSpecification(responseFlow: Flow<String>? = null, responseChunks: List<String>? = null, delayBetweenChunks: Duration = 0.1.seconds, delay: Duration = 0.seconds, var doneReason: String? = "stop") : AbstractStreamingResponseSpecification<GenerateRequest, String, String> (source)
Specification for configuring streaming generate completion responses.
This class is used to specify the content and behavior of streaming responses to generate completion requests. It allows specifying the response chunks, response flow, done reason, and delay between chunks.