Uses of Interface
dev.dokimos.core.conversation.SimulatedUser
Packages that use SimulatedUser
-
Uses of SimulatedUser in dev.dokimos.core.conversation
Classes in dev.dokimos.core.conversation that implement SimulatedUserModifier and TypeClassDescriptionclassAn LLM-based simulated user for multi-turn conversation testing.Methods in dev.dokimos.core.conversation that return SimulatedUserModifier and TypeMethodDescriptionstatic SimulatedUserUserPersonas.adversarialUser(JudgeLM judge) Creates a simulated adversarial user who tries to manipulate the system.static SimulatedUserUserPersonas.aggressiveCustomer(JudgeLM judge) Creates a simulated aggressive customer who is frustrated and demanding.static SimulatedUserUserPersonas.confusedUser(JudgeLM judge) Creates a simulated confused user who struggles to understand.static SimulatedUserCreates a custom simulated user with the specified persona and guidelines.static SimulatedUserUserPersonas.impatientUser(JudgeLM judge) Creates a simulated impatient user who wants quick answers.static SimulatedUserUserPersonas.noviceUser(JudgeLM judge) Creates a simulated novice user who is new to the domain.static SimulatedUserUserPersonas.offTopicUser(JudgeLM judge) Creates a simulated off-topic user who frequently goes on tangents.static SimulatedUserUserPersonas.satisfiedCustomer(JudgeLM judge) Creates a simulated satisfied customer who is cooperative and positive.static SimulatedUserUserPersonas.technicalExpert(JudgeLM judge) Creates a simulated technical expert who understands complex concepts.Methods in dev.dokimos.core.conversation that return types with arguments of type SimulatedUserModifier and TypeMethodDescriptionScenarioSeed.personaFactory()Returns the value of thepersonaFactoryrecord component.Methods in dev.dokimos.core.conversation with parameters of type SimulatedUserModifier and TypeMethodDescriptionConversationSimulator.Builder.simulatedUser(SimulatedUser simulatedUser) Sets the simulated user for the conversation.Method parameters in dev.dokimos.core.conversation with type arguments of type SimulatedUserModifier and TypeMethodDescriptionstatic ScenarioSeedScenarioSeed.persona(String scenario, String initialMessage, Function<JudgeLM, SimulatedUser> personaFactory) Creates a persona-driven seed.ScenarioSeed.Builder.personaFactory(Function<JudgeLM, SimulatedUser> personaFactory) Sets the factory that builds the simulated user from the generator's judge.Constructor parameters in dev.dokimos.core.conversation with type arguments of type SimulatedUserModifierConstructorDescriptionScenarioSeed(String scenario, String initialMessage, String expectedOutcome, List<String> userTurns, Function<JudgeLM, SimulatedUser> personaFactory, Integer maxTurns, Map<String, Object> expectedOutputs, Map<String, Object> metadata) Normalizes nulls, copies the collections defensively, and enforces the user source invariant.