This commit is contained in:
Mckay Wrigley
2023-03-15 04:24:09 -06:00
parent a6503fb498
commit ce331a1bbd
13 changed files with 212 additions and 84 deletions
+9 -1
View File
@@ -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;