-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenAiGptService should map the CLI model param values to the OpenAI …
…API model param values Prompt: Modify the OpenAiGptService class. In the call() method, if model == "gpt3" then set model to "gpt-3.5-turbo" In the call() method, if model == "gpt4" then set model to "gpt-4" Add tests for your changes in test/OpenAiGptService.test.js Use sinon to assert that openai.createChatCompletion receives the correct model value
- Loading branch information
1 parent
86ecf0f
commit be7a7f8
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters