only_ever_generator 8.2.0 → 8.2.1

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/index.d.ts CHANGED
@@ -1 +1,3 @@
1
+ import { OnlyEverGenerator } from "./bootstrap/app";
2
+ export { OnlyEverGenerator };
1
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
package/dist/index.js CHANGED
@@ -1,60 +1,6 @@
1
1
  "use strict";
2
- // import { ObjectId } from "mongodb";
3
- // import { OnlyEverGenerator } from "./bootstrap/app";
4
- // import { OpenAiService } from "./services/open_ai_service";
5
- // import { GenerateSummaryCards } from "./typology_gen/summarize";
6
- // import { database, setUp } from "./helper/mongo_helper";
7
- // // import { LocalConsolidation } from "./embedding_generation/consolidation/local_consolidation";
8
- // // import { embeddingsResp } from "./typology-parsed-response";
9
- // // import { GlobalConsolidation } from "./embedding_generation/consolidation/global_consolidation";
10
- // // import { ParseEmbeddingResponse } from "./embedding_generation/parse_embedding_response";
11
- // // import { OpenAIHelper } from "./helper/openai_helper";
12
- // // import { GenerateTypology } from "./typology_gen/generate_typology";
13
- // // import { OpenAiService } from "./services/open_ai_service";
14
- // // import { GenerateConceptFacts } from "./typology_gen/generate_concept_facts";
15
- // // import { BaseParamType } from "./types/base_param_type";
16
- // // import dotenv from "dotenv";
17
- // import express from "express";
18
- // const app = express();
19
- // const port = 3000;
20
- // // // import { OnlyEverGenerator } from "./bootstrap/app";
21
- // // import { database, ObjectId, setUp } from "./helper/mongo_helper";
22
- // // import { getPrompts } from "./services/get_prompts";
23
- // // // import { BaseParamType } from "./types/base_param_type";
24
- // // import { ParseCardResponse } from "./parse/parse_card_response";
25
- // // import { RawTestCardResponseType } from "./types/raw_card_response_types/generated_card_response_type";
26
- // export { OnlyEverGenerator };
27
- // // dotenv.config();
28
- // app.listen(port, () => {
29
- // console.log(`Server is running on port ${port}`);
30
- // });
31
- // app.get("/summarize", async (req, res) => {
32
- // setUp();
33
- // const promptIdForSummaryCards =
34
- // "pmpt_6902c30a973481968395935cc6dfa78605f50d2b01d4afbd";
35
- // const sourceId = "68b114dac849a25097ed1778";
36
- // const source = await database
37
- // .collection("_source")
38
- // .findOne({ _id: new ObjectId(sourceId) });
39
- // const content = {
40
- // title: source?.title,
41
- // h1_headings: source?.headings,
42
- // content: source?.content,
43
- // };
44
- // const openAiService = new OpenAiService(
45
- // process.env.OPEN_AI_KEY || "",
46
- // "gpt-5-mini"
47
- // );
48
- // const summarize = new GenerateSummaryCards(
49
- // openAiService,
50
- // sourceId,
51
- // content,
52
- // "text",
53
- // promptIdForSummaryCards,
54
- // false
55
- // );
56
- // const summaryCards = await summarize.generate();
57
- // console.log(summaryCards);
58
- // res.json(summaryCards);
59
- // });
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OnlyEverGenerator = void 0;
4
+ const app_1 = require("./bootstrap/app");
5
+ Object.defineProperty(exports, "OnlyEverGenerator", { enumerable: true, get: function () { return app_1.OnlyEverGenerator; } });
60
6
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,sCAAsC;AACtC,uDAAuD;AACvD,8DAA8D;AAC9D,mEAAmE;AACnE,2DAA2D;AAC3D,oGAAoG;AACpG,kEAAkE;AAClE,sGAAsG;AACtG,+FAA+F;AAC/F,4DAA4D;AAC5D,0EAA0E;AAC1E,iEAAiE;AACjE,mFAAmF;AACnF,8DAA8D;AAC9D,kCAAkC;AAClC,iCAAiC;AACjC,yBAAyB;AACzB,qBAAqB;AAErB,6DAA6D;AAC7D,wEAAwE;AACxE,0DAA0D;AAC1D,iEAAiE;AACjE,sEAAsE;AACtE,6GAA6G;AAE7G,gCAAgC;AAChC,sBAAsB;AAEtB,2BAA2B;AAC3B,sDAAsD;AACtD,MAAM;AAEN,8CAA8C;AAC9C,aAAa;AACb,oCAAoC;AACpC,+DAA+D;AAC/D,iDAAiD;AACjD,kCAAkC;AAClC,6BAA6B;AAC7B,iDAAiD;AACjD,sBAAsB;AACtB,4BAA4B;AAC5B,qCAAqC;AACrC,gCAAgC;AAChC,OAAO;AACP,6CAA6C;AAC7C,qCAAqC;AACrC,mBAAmB;AACnB,OAAO;AACP,gDAAgD;AAChD,qBAAqB;AACrB,gBAAgB;AAChB,eAAe;AACf,cAAc;AACd,+BAA+B;AAC/B,YAAY;AACZ,OAAO;AACP,qDAAqD;AACrD,+BAA+B;AAC/B,4BAA4B;AAC5B,MAAM"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAAoD;AAE3C,kGAFA,uBAAiB,OAEA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "only_ever_generator",
3
- "version": "8.2.0",
3
+ "version": "8.2.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -1,62 +1,3 @@
1
- // import { ObjectId } from "mongodb";
2
- // import { OnlyEverGenerator } from "./bootstrap/app";
3
- // import { OpenAiService } from "./services/open_ai_service";
4
- // import { GenerateSummaryCards } from "./typology_gen/summarize";
5
- // import { database, setUp } from "./helper/mongo_helper";
6
- // // import { LocalConsolidation } from "./embedding_generation/consolidation/local_consolidation";
7
- // // import { embeddingsResp } from "./typology-parsed-response";
8
- // // import { GlobalConsolidation } from "./embedding_generation/consolidation/global_consolidation";
9
- // // import { ParseEmbeddingResponse } from "./embedding_generation/parse_embedding_response";
10
- // // import { OpenAIHelper } from "./helper/openai_helper";
11
- // // import { GenerateTypology } from "./typology_gen/generate_typology";
12
- // // import { OpenAiService } from "./services/open_ai_service";
13
- // // import { GenerateConceptFacts } from "./typology_gen/generate_concept_facts";
14
- // // import { BaseParamType } from "./types/base_param_type";
15
- // // import dotenv from "dotenv";
16
- // import express from "express";
17
- // const app = express();
18
- // const port = 3000;
1
+ import { OnlyEverGenerator } from "./bootstrap/app";
19
2
 
20
- // // // import { OnlyEverGenerator } from "./bootstrap/app";
21
- // // import { database, ObjectId, setUp } from "./helper/mongo_helper";
22
- // // import { getPrompts } from "./services/get_prompts";
23
- // // // import { BaseParamType } from "./types/base_param_type";
24
- // // import { ParseCardResponse } from "./parse/parse_card_response";
25
- // // import { RawTestCardResponseType } from "./types/raw_card_response_types/generated_card_response_type";
26
-
27
- // export { OnlyEverGenerator };
28
- // // dotenv.config();
29
-
30
- // app.listen(port, () => {
31
- // console.log(`Server is running on port ${port}`);
32
- // });
33
-
34
- // app.get("/summarize", async (req, res) => {
35
- // setUp();
36
- // const promptIdForSummaryCards =
37
- // "pmpt_6902c30a973481968395935cc6dfa78605f50d2b01d4afbd";
38
- // const sourceId = "68b114dac849a25097ed1778";
39
- // const source = await database
40
- // .collection("_source")
41
- // .findOne({ _id: new ObjectId(sourceId) });
42
- // const content = {
43
- // title: source?.title,
44
- // h1_headings: source?.headings,
45
- // content: source?.content,
46
- // };
47
- // const openAiService = new OpenAiService(
48
- // process.env.OPEN_AI_KEY || "",
49
- // "gpt-5-mini"
50
- // );
51
- // const summarize = new GenerateSummaryCards(
52
- // openAiService,
53
- // sourceId,
54
- // content,
55
- // "text",
56
- // promptIdForSummaryCards,
57
- // false
58
- // );
59
- // const summaryCards = await summarize.generate();
60
- // console.log(summaryCards);
61
- // res.json(summaryCards);
62
- // });
3
+ export { OnlyEverGenerator };