Uses of Class
dyntabs.ai.DecisionBuilder
Packages that use DecisionBuilder
-
Uses of DecisionBuilder in dyntabs.ai
Methods in dyntabs.ai that return DecisionBuilderModifier and TypeMethodDescriptionAdd a single-choice question.Add a single-choice question from a list.Add a single-choice question whose options carry descriptions.static DecisionBuilderAsks a small, cheap model a closed question about some text and returns a probability instead of prose.Add an ordered-scale question.DecisionBuilder.withApiKey(String apiKey) Override the API key for this call (otherwiseeasyai.decision.api-key, theneasyai.api-key).DecisionBuilder.withBaseUrl(String baseUrl) Override the base URL for this call.DecisionBuilder.withConfig(DecisionConfig config) Replace the whole configuration instead of overriding single values.DecisionBuilder.withEventListener(EasyAIListener eventListener) Register a listener for the liveEasyAIEventstream, so a decision appears in your activity timeline like every other EasyAI operation, underEasyAIEvent.Source.DECISION.Name the decision model for this call (defaultDecisionConfig.DEFAULT_MODEL).DecisionBuilder.withProvider(String provider) Override the provider for this call.Add a yes/no question.Add a yes/no question, spelling out what counts as yes and what counts as no.