public static enum LlmInferenceRequest.RuntimeType extends Enum<LlmInferenceRequest.RuntimeType> implements BmcEnum
The runtime of the provided model.
Modifier and Type | Method and Description |
---|---|
static LlmInferenceRequest.RuntimeType |
create(String key) |
String |
getValue() |
static LlmInferenceRequest.RuntimeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LlmInferenceRequest.RuntimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LlmInferenceRequest.RuntimeType Cohere
public static final LlmInferenceRequest.RuntimeType Llama
public static LlmInferenceRequest.RuntimeType[] values()
for (LlmInferenceRequest.RuntimeType c : LlmInferenceRequest.RuntimeType.values()) System.out.println(c);
public static LlmInferenceRequest.RuntimeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static LlmInferenceRequest.RuntimeType create(String key)
Copyright © 2016–2024. All rights reserved.