java.lang.Object
io.helidon.integrations.langchain4j.providers.mock.MockStreamingChatModel
All Implemented Interfaces:
dev.langchain4j.model.chat.StreamingChatModel, RuntimeType.Api<MockStreamingChatModelConfig>

public class MockStreamingChatModel extends Object implements RuntimeType.Api<MockStreamingChatModelConfig>, dev.langchain4j.model.chat.StreamingChatModel
A mock implementation of a streaming chat model for testing and development.

This model evaluates incoming chat requests against a set of MockChatRules and streams the corresponding mock responses. If no rule matches, a default mock response is used.

Rules are initialized from the provided MockStreamingChatModelConfig and can be inspected and modified at runtime using activeRules() and resetRules().