public static enum BaseChatRequest.ApiFormat extends Enum<BaseChatRequest.ApiFormat> implements BmcEnum
The API format for the model’s request.
Modifier and Type | Method and Description |
---|---|
static BaseChatRequest.ApiFormat |
create(String key) |
String |
getValue() |
static BaseChatRequest.ApiFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseChatRequest.ApiFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseChatRequest.ApiFormat Cohere
public static final BaseChatRequest.ApiFormat Generic
public static BaseChatRequest.ApiFormat[] values()
for (BaseChatRequest.ApiFormat c : BaseChatRequest.ApiFormat.values()) System.out.println(c);
public static BaseChatRequest.ApiFormat 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 BaseChatRequest.ApiFormat create(String key)
Copyright © 2016–2024. All rights reserved.