@ -52,9 +52,12 @@ public class OpenAiConfigProperties {
private int basicMaxCount = 50 ;
private int basicMaxCount = 50 ;
/** System Rules Limit */
/** System Rules Limit */
private String systemRule = "是与AI助手的对话。助手乐于助人,富有创造力,聪明限制每次回答在120字以内不得超过120字 。" ;
private String systemRule = "是与AI助手的对话。助手乐于助人,富有创造力,聪明。" ;
/** Context Window Max */
/** Context Window Max */
private String contextMessageMaxCount = "14" ;
private String contextMessageMaxCount = "14" ;
/** The maximum number of tokens allowed for the generated answer. By default, the number of tokens the model can return will be (4096 - prompt tokens). */
private Integer completionMaxTokens = 300 ;
}
}