Enum Class InProcessModelType
java.lang.Object
java.lang.Enum<InProcessModelType>
io.helidon.integrations.langchain4j.providers.lc4jinprocess.InProcessModelType
- All Implemented Interfaces:
Serializable,Comparable<InProcessModelType>,Constable
Supported LangChain4j in-process embedding model types.
This enum provides well-known model identifiers for LangChain4j's ONNX-based "in-process" embedding models.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe default "all-minilm-l6-v2" in-process embedding model.The quantized variant of the "all-minilm-l6-v2" in-process embedding model, typically offering reduced memory footprint and potentially faster inference at some quality cost.A custom, user-provided in-process ONNX embedding model, when selected `path-to-model` and `path-to-tokenizer` needs to be provided. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static InProcessModelTypeReturns the enum constant of this class with the specified name.static InProcessModelType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL_MINILM_L6_V2
The default "all-minilm-l6-v2" in-process embedding model. -
ALL_MINILM_L6_V2_Q
The quantized variant of the "all-minilm-l6-v2" in-process embedding model, typically offering reduced memory footprint and potentially faster inference at some quality cost. -
CUSTOM
A custom, user-provided in-process ONNX embedding model, when selected `path-to-model` and `path-to-tokenizer` needs to be provided.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<InProcessModelType>
-