only_ever_generator 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bootstrap/app.js +4 -4
- package/dist/index.js +4 -3
- package/package.json +1 -1
- package/src/bootstrap/app.ts +4 -4
- package/src/index.ts +1 -1
package/dist/bootstrap/app.js
CHANGED
|
@@ -60,10 +60,10 @@ class OnlyEverGenerator {
|
|
|
60
60
|
this.cardgenResponse = yield this.generateCard(this.promptForCardGen, JSON.stringify(this.typologyResponse), false);
|
|
61
61
|
responseToReturn.push(this.cardgenResponse);
|
|
62
62
|
/// check if gap fill is required ie coverage determination
|
|
63
|
-
if
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
63
|
+
// if(this.cardgenResponse.status_code == 200) {
|
|
64
|
+
// this.gapFillResponse = await this._generationForGapFill(this.typologyResponse, this.cardgenResponse);
|
|
65
|
+
// responseToReturn.push(this.gapFillResponse);
|
|
66
|
+
// }
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
return responseToReturn;
|
package/dist/index.js
CHANGED
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
// const app = express();
|
|
8
8
|
// const port = 3000;
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
// import { returnPromptData } from "./constants/prompt_data";
|
|
11
|
+
/// While Publishing the package , and using this code as a separate npm module
|
|
12
|
+
/// uncomment the below line and comment all the others, expect the import of OnlyEverGenerator
|
|
13
|
+
// export {OnlyEverGenerator};
|
|
13
14
|
// //. All the Codes Below uses express and are strictly for development purpose, while publishing the package, comment everything
|
|
14
15
|
// //below this line
|
|
15
16
|
// let oeGen = new OnlyEverGenerator(config.openAIKey, "gpt-4o", {
|
package/package.json
CHANGED
package/src/bootstrap/app.ts
CHANGED
|
@@ -78,10 +78,10 @@ export class OnlyEverGenerator {
|
|
|
78
78
|
responseToReturn.push(this.cardgenResponse);
|
|
79
79
|
|
|
80
80
|
/// check if gap fill is required ie coverage determination
|
|
81
|
-
if(this.cardgenResponse.status_code == 200) {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
81
|
+
// if(this.cardgenResponse.status_code == 200) {
|
|
82
|
+
// this.gapFillResponse = await this._generationForGapFill(this.typologyResponse, this.cardgenResponse);
|
|
83
|
+
// responseToReturn.push(this.gapFillResponse);
|
|
84
|
+
// }
|
|
85
85
|
|
|
86
86
|
}
|
|
87
87
|
}
|
package/src/index.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { OnlyEverGenerator } from "./bootstrap/app";
|
|
|
11
11
|
|
|
12
12
|
/// While Publishing the package , and using this code as a separate npm module
|
|
13
13
|
/// uncomment the below line and comment all the others, expect the import of OnlyEverGenerator
|
|
14
|
-
export {OnlyEverGenerator};
|
|
14
|
+
// export {OnlyEverGenerator};
|
|
15
15
|
|
|
16
16
|
// //. All the Codes Below uses express and are strictly for development purpose, while publishing the package, comment everything
|
|
17
17
|
// //below this line
|