Enum representing types of decision inputs for LangChain4j decision models.
// Source: https://github.com/langchain4j/langchain4j | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package dev.langchain4j.model.decision.request;
import dev.langchain4j.Experimental;
/**
* The kind of a {@link DecisionInput}. More kinds can be added in future releases, so a {@code switch} over it
* should have a {@code default} branch, for example one that throws an
* {@link dev.langchain4j.exception.UnsupportedFeatureException}.
*
* @since 1.23.0
*/
@Experimental
public enum DecisionInputType {
/**
* Plain text, see {@link TextInput}.
*/
TEXT,
/**
* Named fields, see {@link FieldsInput}.
*/
FIELDS,
/**
* A list of conten
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key