hey i just want to know like how many channels do you have? i have so far found 3 of you: 1)ProgrammingKnowledge 2)ProgrammingKnowledge2 3)Hello C & CPP By ProgrammingKnowledge all of the channels are active and had the same guy making the videos up until recently being replaced with a woman. what is happening exactly?
i have this error: TypeError: Configuration is not a constructor at Object. (C:\Users\u\Desktop\#3testopenai\index.js:3:16) at Module._compile (node:internal/modules/cjs/loader:1369:14) at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49
I think maybe to fix the module errors you have to go to the package.json file and underneath the "description" line put '"Type": "module"', I'm not exactly sure but that might help
package.json "dependencies": { "openai": "^4.45.0" } EROR const config = new Configuration({ ^ TypeError: Configuration is not a constructor at Object. (D:\openai\index.js:3:16) at Module._compile (node:internal/modules/cjs/loader:1369:14) at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 Node.js v20.12.2
hey i just want to know like how many channels do you have? i have so far found 3 of you:
1)ProgrammingKnowledge
2)ProgrammingKnowledge2
3)Hello C & CPP By ProgrammingKnowledge
all of the channels are active and had the same guy making the videos up until recently being replaced with a woman. what is happening exactly?
Thanks for the info
i have this error: TypeError: Configuration is not a constructor
at Object. (C:\Users\u\Desktop\#3testopenai\index.js:3:16)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Same here
same here, did you figure out the error
The error comes from using the incorrect syntax for v3 when chat gpt is current on v4
I think maybe to fix the module errors you have to go to the package.json file and underneath the "description" line put '"Type": "module"', I'm not exactly sure but that might help
@@willthomas8101 no the documentation is changed now,,,,, const OpenAi = require("openai"); const openai = new OpenAI({apiKey: ""}); use this
hello sir i want to learn android studio can you tech me plz
where is the guy who was making the videos? is he fine??
i wanna know too
@@sharminsultana9206 me too
voice is low
package.json
"dependencies": {
"openai": "^4.45.0"
}
EROR
const config = new Configuration({
^
TypeError: Configuration is not a constructor
at Object. (D:\openai\index.js:3:16)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Node.js v20.12.2
getting the same error, this is a terrible tutorial
The error comes from using the incorrect syntax for v3 when chat gpt is current on v4