mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-15 14:36:47 +00:00
(improvement)(headless) Upgrade to the latest version of langchain4j and add support for embedding deletion operation and reset. (#1660)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
package dev.langchain4j.model.openai;
|
||||
|
||||
public enum OpenAiChatModelName {
|
||||
GPT_3_5_TURBO("gpt-3.5-turbo"), // alias
|
||||
@Deprecated
|
||||
GPT_3_5_TURBO_0613("gpt-3.5-turbo-0613"),
|
||||
GPT_3_5_TURBO_1106("gpt-3.5-turbo-1106"),
|
||||
GPT_3_5_TURBO_0125("gpt-3.5-turbo-0125"),
|
||||
|
||||
GPT_3_5_TURBO_16K("gpt-3.5-turbo-16k"), // alias
|
||||
@Deprecated
|
||||
GPT_3_5_TURBO_16K_0613("gpt-3.5-turbo-16k-0613"),
|
||||
|
||||
GPT_4("gpt-4"), // alias
|
||||
@Deprecated
|
||||
GPT_4_0314("gpt-4-0314"),
|
||||
GPT_4_0613("gpt-4-0613"),
|
||||
|
||||
GPT_4_TURBO_PREVIEW("gpt-4-turbo-preview"), // alias
|
||||
GPT_4_1106_PREVIEW("gpt-4-1106-preview"),
|
||||
GPT_4_0125_PREVIEW("gpt-4-0125-preview"),
|
||||
|
||||
GPT_4_32K("gpt-4-32k"), // alias
|
||||
GPT_4_32K_0314("gpt-4-32k-0314"),
|
||||
GPT_4_32K_0613("gpt-4-32k-0613"),
|
||||
|
||||
@Deprecated
|
||||
GPT_4_VISION_PREVIEW("gpt-4-vision-preview"),
|
||||
|
||||
GPT_4_O("gpt-4o"),
|
||||
GPT_4_O_MINI("gpt-4o-mini");
|
||||
|
||||
private final String stringValue;
|
||||
|
||||
OpenAiChatModelName(String stringValue) {
|
||||
this.stringValue = stringValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return stringValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user