ParamsChatBot constructor
const
ParamsChatBot({
- String domain = "api.openai.com",
- String endPoint = "/v1/chat/completions",
- String modelGpt = "gpt-3.5-turbo",
- int maxToken = 150,
- FormatDataUtil formatDataUtil = const FormatDataUtil(),
Implementation
const ParamsChatBot({
this.domain = "api.openai.com",
this.endPoint = "/v1/chat/completions",
this.modelGpt = "gpt-3.5-turbo",
this.maxToken = 150,
this.formatDataUtil = const FormatDataUtil(),
});