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