@xapp/stentor-service-generative-ai 1.62.40 → 1.62.41

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.
@@ -1,6 +1,6 @@
1
1
  /*! Copyright (c) 2024, XAPP AI */
2
2
  import type { ExternalLead } from "stentor-models";
3
- import type { GenerativeAIService as IGenerativeAIService, LeadAnalysis, LLMService } from "./models";
3
+ import type { IGenerativeAIService, LeadAnalysis, LLMService } from "./models";
4
4
  export interface AnalyzeLeadOptions {
5
5
  businessDescription?: string;
6
6
  highValueLeadDescription?: string;
@@ -0,0 +1,3 @@
1
+ /*! Copyright (c) 2024, XAPP AI */
2
+ export * from "./HTTPService";
3
+ export * from "./NodeHTTPService";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /*! Copyright (c) 2024, XAPP AI */
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./HTTPService"), exports);
19
+ __exportStar(require("./NodeHTTPService"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";AAAA,kCAAkC;;;;;;;;;;;;;;;;AAElC,gDAA8B;AAC9B,oDAAkC"}
package/lib/index.d.ts CHANGED
@@ -1,2 +1,6 @@
1
1
  /*! Copyright (c) 2024, XAPP AI */
2
2
  export * from "./GenerativeAIService";
3
+ export * from "./OpenAIService";
4
+ export * from "./http";
5
+ export * from "./models";
6
+ export * from "./prompts";
package/lib/index.js CHANGED
@@ -16,4 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /*! Copyright (c) 2024, XAPP AI */
18
18
  __exportStar(require("./GenerativeAIService"), exports);
19
+ __exportStar(require("./OpenAIService"), exports);
20
+ __exportStar(require("./http"), exports);
21
+ __exportStar(require("./models"), exports);
22
+ __exportStar(require("./prompts"), exports);
19
23
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,kCAAkC;AAClC,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,kCAAkC;AAClC,wDAAsC;AACtC,kDAAgC;AAChC,yCAAuB;AACvB,2CAAyB;AACzB,4CAA0B"}
@@ -1,7 +1,7 @@
1
1
  /*! Copyright (c) 2024, XAPP AI */
2
2
  import { ExternalLead } from "stentor-models";
3
3
  import { LeadAnalysis } from "./LeadAnalysis";
4
- export interface GenerativeAIService {
4
+ export interface IGenerativeAIService {
5
5
  /**
6
6
  * Analyze a lead to find summary
7
7
  * @param lead
@@ -1,7 +1,7 @@
1
1
  /*! Copyright (c) 2024, XAPP AI */
2
- export * from './LeadAnalysis';
3
2
  export * from './GenerativeAIService';
4
- export * from "./ResponseParser";
3
+ export * from './LeadAnalysis';
5
4
  export * from "./LLMService";
6
- export * from "./PromptGenerator";
7
5
  export * from "./Prompt";
6
+ export * from "./PromptGenerator";
7
+ export * from "./ResponseParser";
@@ -15,10 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
16
  };
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- __exportStar(require("./LeadAnalysis"), exports);
19
18
  __exportStar(require("./GenerativeAIService"), exports);
20
- __exportStar(require("./ResponseParser"), exports);
19
+ __exportStar(require("./LeadAnalysis"), exports);
21
20
  __exportStar(require("./LLMService"), exports);
22
- __exportStar(require("./PromptGenerator"), exports);
23
21
  __exportStar(require("./Prompt"), exports);
22
+ __exportStar(require("./PromptGenerator"), exports);
23
+ __exportStar(require("./ResponseParser"), exports);
24
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";AAAA,kCAAkC;;;;;;;;;;;;;;;;AAElC,iDAA+B;AAC/B,wDAAsC;AACtC,mDAAiC;AACjC,+CAA6B;AAC7B,oDAAkC;AAClC,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";AAAA,kCAAkC;;;;;;;;;;;;;;;;AAElC,wDAAsC;AACtC,iDAA+B;AAC/B,+CAA6B;AAC7B,2CAAyB;AACzB,oDAAkC;AAClC,mDAAiC"}
@@ -0,0 +1,2 @@
1
+ /*! Copyright (c) 2024, XAPP AI */
2
+ export * from "./AnalyzeLead";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /*! Copyright (c) 2024, XAPP AI */
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./AnalyzeLead"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/prompts/index.ts"],"names":[],"mappings":";AAAA,kCAAkC;;;;;;;;;;;;;;;;AAElC,gDAA8B"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.62.40",
7
+ "version": "1.62.41",
8
8
  "description": "Generative AI Service",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -38,5 +38,5 @@
38
38
  "test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\"",
39
39
  "local": "npm run test"
40
40
  },
41
- "gitHead": "83eb5384a324781ec87874275015a95472f2df43"
41
+ "gitHead": "e12e5ca62659db51c217c978348fdd76b244a4d1"
42
42
  }