处理todo

This commit is contained in:
cherishsince
2024-04-09 20:12:41 +08:00
parent 337ae04551
commit 32bc632947
26 changed files with 243 additions and 346 deletions

View File

@ -1,28 +0,0 @@
package cn.iocoder.yudao.module.ai.enums;
import lombok.Getter;
// TODO @fansili1类注释要加下2author 和 time 用 javadoc@author 和 @since3@AllArgsConstructor 使用这个注解去掉构造方法4value 改成 model 字段然后注释都写下哈5message 改成 name然后注释都写下哈
/**
* author: fansili
* time: 2024/3/4 12:36
*/
@Getter
public enum AiModelEnum {
OPEN_AI_GPT_3_5("gpt-3.5-turbo", "GPT3.5"),
OPEN_AI_GPT_4("gpt-4-turbo", "GPT4")
;
AiModelEnum(String value, String message) {
this.value = value;
this.message = message;
}
// TODO @fan
private String value;
private String message;
}

View File

@ -0,0 +1,35 @@
package cn.iocoder.yudao.module.ai.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
// TODO done @fansili1类注释要加下2author 和 time 用 javadoc@author 和 @since3@AllArgsConstructor 使用这个注解去掉构造方法4value 改成 model 字段然后注释都写下哈5message 改成 name然后注释都写下哈
/**
* @author: fansili
* @time: 2024/3/4 12:36
*/
@Getter
@AllArgsConstructor
public enum OpenAiModelEnum {
/**
* open ai 3.5模型
*/
OPEN_AI_GPT_3_5("gpt-3.5-turbo", "GPT3.5"),
/**
* open ai 4.0 收费模型
*/
OPEN_AI_GPT_4("gpt-4-turbo", "GPT4")
;
/**
* 模型 - 用于参数传递
*/
private String model;
/**
* 模型名字 - 用于展示
*/
private String name;
}