public enum Model extends Enum<Model>
| 枚举常量和说明 |
|---|
ADA
Capable of very simple tasks, usually the fastest model in the GPT-3 series, and lowest cost.
|
BABBAGE
Capable of straightforward tasks, very fast, and lower cost.
|
CODE_CUSHMAN_001
Almost as capable as Davinci Codex, but slightly faster.
|
CODE_DAVINCI_002
Most capable Codex model.
|
CURIE
Very capable, but faster and lower cost than Davinci.
|
CURIE_INSTRUCT_BETA
curie-instruct-beta
|
DAVINCI
Most capable GPT-3 model.
|
DAVINCI_INSTRUCT_BETA
davinci-instruct-beta
|
GPT_35_TURBO
Most capable GPT-3.5 model and optimized for chat at 1/10th the cost of text-davinci-003.
|
GPT_35_TURBO_0301
Snapshot of gpt-3.5-turbo from March 1st 2023.
|
TEXT_ADA_001
Capable of very simple tasks, usually the fastest model in the GPT-3 series, and lowest cost.
|
TEXT_BABBAGE_001
Capable of straightforward tasks, very fast, and lower cost.
|
TEXT_CURIE_001
Very capable, faster and lower cost than Davinci.
|
TEXT_DAVINCI_001
text-davinci-001
|
TEXT_DAVINCI_002
Similar capabilities to text-davinci-003 but trained with supervised fine-tuning instead of reinforcement
learning
|
TEXT_DAVINCI_003
Can do any language task with better quality, longer output, and consistent instruction-following than the curie,
babbage, or ada models.
|
TEXT_EMBEDDING_ADA_002
Embeddings are a numerical representation of text that can be used to measure the relateness between two pieces
of text.
|
WHISPER_1
Whisper is a general-purpose speech recognition model.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
void |
setName(String name) |
static Model |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Model[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Model DAVINCI
public static final Model TEXT_DAVINCI_003
public static final Model TEXT_DAVINCI_001
public static final Model CODE_DAVINCI_002
public static final Model TEXT_CURIE_001
public static final Model CURIE
public static final Model TEXT_BABBAGE_001
public static final Model TEXT_ADA_001
public static final Model ADA
public static final Model DAVINCI_INSTRUCT_BETA
public static final Model CURIE_INSTRUCT_BETA
public static final Model CODE_CUSHMAN_001
public static final Model BABBAGE
public static final Model TEXT_DAVINCI_002
public static final Model GPT_35_TURBO
public static final Model GPT_35_TURBO_0301
public static final Model WHISPER_1
public static final Model TEXT_EMBEDDING_ADA_002
public static Model[] values()
for (Model c : Model.values()) System.out.println(c);
public static Model valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getName()
public void setName(String name)
Copyright © 2023. All rights reserved.