Uses of Class
dev.dokimos.core.conversation.ScenarioSeed.Builder
Packages that use ScenarioSeed.Builder
-
Uses of ScenarioSeed.Builder in dev.dokimos.core.conversation
Methods in dev.dokimos.core.conversation that return ScenarioSeed.BuilderModifier and TypeMethodDescriptionstatic ScenarioSeed.BuilderScenarioSeed.builder()Creates a new builder for constructing seeds.ScenarioSeed.Builder.expectedOutcome(String expectedOutcome) Sets the natural-language completion criterion stored under"expectedOutcome"in the generated example's metadata, for a judge to grade the conversation against.ScenarioSeed.Builder.expectedOutput(String key, Object value) Adds an expected output with the given key and value.ScenarioSeed.Builder.expectedOutputs(Map<String, Object> expectedOutputs) Adds all entries from the given expected outputs map.ScenarioSeed.Builder.initialMessage(String initialMessage) Sets the first user message.ScenarioSeed.Builder.maxTurns(int maxTurns) Sets the turn limit for this seed, overriding the generator's default.Adds metadata with the given key and value.Adds all entries from the given metadata map.ScenarioSeed.Builder.personaFactory(Function<JudgeLM, SimulatedUser> personaFactory) Sets the factory that builds the simulated user from the generator's judge.Sets the scenario description.Adds one scripted user turn.Replaces the scripted user turns.