OllamaGenerateResponseSpecification
class OllamaGenerateResponseSpecification(var responseContent: String = "This is a mock response from Ollama.", var doneReason: String? = "stop", delay: Duration = 0.seconds) : AbstractResponseSpecification<GenerateRequest, GenerateResponse> (source)
Specification for configuring generate completion responses.
This class is used to specify the content and behavior of responses to generate completion requests. It allows specifying the response content, done reason, and delay.