boom
This commit is contained in:
1 parent
a6503fb498
commit
ce331a1bbd
13 files changed
+212
-84
No files matched your search
+9
-1
@@ -1,7 +1,15 @@
|
||||
export enum OpenAIModel {
|
||||
DAVINCI_TURBO = "gpt-3.5-turbo"
|
||||
GPT_3_5 = "gpt-3.5-turbo",
|
||||
GPT_3_5_LEGACY = "gpt-3.5-turbo-0301"
|
||||
// GPT_4 = "gpt-4"
|
||||
}
|
||||
|
||||
export const OpenAIModelNames: Record<OpenAIModel, string> = {
|
||||
[OpenAIModel.GPT_3_5]: "Default (GPT-3.5)",
|
||||
[OpenAIModel.GPT_3_5_LEGACY]: "Legacy (GPT-3.5)"
|
||||
// [OpenAIModel.GPT_4]: "GPT-4"
|
||||
};
|
||||
|
||||
export interface Message {
|
||||
role: Role;
|
||||
content: string;
|
||||
|
||||
Reference in new issue
Block a user