ChatGPTConfig class

Constructors

ChatGPTConfig({String chatGPTAPIEndPoint = 'https://api.openai.com/v1/chat/completions', num temperature = 1, num maxTokens = 1600, int topP = 1, int frequencyPenalty = 0, int presencePenalty = 0, String chatGPTModel = 'gpt-4', Map<String, dynamic>? request})

Properties

chatGPTAPIEndPoint String
getter/setter pair
chatGPTModel String
getter/setter pair
frequencyPenalty int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxTokens num
getter/setter pair
presencePenalty int
getter/setter pair
request Map<String, dynamic>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temperature num
getter/setter pair
topP int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited