You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current class that handles connections to the OpenAI API (GPT3CompletionModel) has too many responsibilities: it handles connections to the Completion and Edits endpoints, and PR #9 adds the ChatCompletion endpoints as well.
We should have classes that are endpoint-specific (such as CompletionModel, EditsModel or ChatCompletionModel), instead of model family specific (GPT3CompletionModel).
The text was updated successfully, but these errors were encountered:
The current class that handles connections to the OpenAI API (
GPT3CompletionModel
) has too many responsibilities: it handles connections to the Completion and Edits endpoints, and PR #9 adds the ChatCompletion endpoints as well.We should have classes that are endpoint-specific (such as
CompletionModel
,EditsModel
orChatCompletionModel
), instead of model family specific (GPT3CompletionModel
).The text was updated successfully, but these errors were encountered: