public enum EmbeddingModel extends Enum<EmbeddingModel>
| Enum Constant and Description |
|---|
TEXT_EMBEDDING_3_LARGE |
TEXT_EMBEDDING_3_SMALL |
TEXT_EMBEDDING_ADA_002 |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static EmbeddingModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmbeddingModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmbeddingModel TEXT_EMBEDDING_ADA_002
public static final EmbeddingModel TEXT_EMBEDDING_3_SMALL
public static final EmbeddingModel TEXT_EMBEDDING_3_LARGE
public static EmbeddingModel[] values()
for (EmbeddingModel c : EmbeddingModel.values()) System.out.println(c);
public static EmbeddingModel 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 String toString()
toString in class Enum<EmbeddingModel>Copyright © 2024. All rights reserved.