First commit for OpenAI's chat api
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
class OpenAIAPI {
|
class OpenAIAPI {
|
||||||
static defaultModel = 'text-davinci-003'
|
static defaultModel = 'gpt-3.5-turbo'
|
||||||
|
|
||||||
constructor(apiKey) {
|
constructor(apiKey) {
|
||||||
this.apiKey = apiKey
|
this.apiKey = apiKey
|
||||||
|
|||||||
Reference in New Issue
Block a user