Added the following to the ChatConversation, and both sendChat functions:
user
temperature
topProbabilityMass (top_p)
choices (n)
stop
presencePenalty (presence_penalty)
frequencyPenalty (frequency_penalty)
Corresponding strings have been added to the CodingKeys in ChatConversation.
All added parameters are optional values, and do not have to be added when calling sendChat.
Note that the following parameters still need to be added:
Added the following to the ChatConversation, and both sendChat functions:
Corresponding strings have been added to the CodingKeys in ChatConversation. All added parameters are optional values, and do not have to be added when calling sendChat.
Note that the following parameters still need to be added:
The stream parameter makes it so that tokens are sent as server-sent events. This may require the use of another library such as https://github.com/inaka/EventSource.