@vorlefan/toolkit
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -40,5 +40,5 @@ "use strict"; | ||
class InputTransformer { | ||
constructor({ apiKey, outputFilename, model = "gpt-4o", }) { | ||
constructor({ apiKey, outputFilename, model = "gpt-3.5-turbo", }) { | ||
this.outputFilename = "input-forms.tsx"; | ||
this.model = "gpt-4o"; | ||
this.model = "gpt-3.5-turbo"; | ||
if (outputFilename) { | ||
@@ -92,3 +92,3 @@ this.outputFilename = outputFilename; | ||
const response = yield this.openai.createChatCompletion({ | ||
model: "gpt-4o-mini", | ||
model: this.model, | ||
messages: [{ role: "user", content: prompt }], | ||
@@ -95,0 +95,0 @@ temperature: 0, |
{ | ||
"name": "@vorlefan/toolkit", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A general-purpose toolkit for Node.js applications.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68595