@memberjunction/ai-vectors-pinecone 1.0.6 → 1.0.7

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/package.json CHANGED
@@ -1,33 +1,33 @@
1
- {
2
- "name": "@memberjunction/ai-vectors-pinecone",
3
- "version": "1.0.6",
4
- "description": "MemberJunction: Pinecone Implementation for AI Vectors",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "files": [
8
- "/dist"
9
- ],
10
- "scripts": {
11
- "start": "ts-node-dev src/index.ts",
12
- "build": "tsc",
13
- "test": "echo \"Error: no test specified\" && exit 1"
14
- },
15
- "author": "MemberJunction.com",
16
- "license": "ISC",
17
- "dependencies": {
18
- "@memberjunction/aiengine": "^1.0.6",
19
- "@memberjunction/core": "^1.0.6",
20
- "@memberjunction/global": "^1.0.6",
21
- "@memberjunction/ai-vectors": "^1.0.6",
22
- "@pinecone-database/pinecone": "^2.0.1",
23
- "dotenv": "^16.0.3",
24
- "openai": "^3.2.1",
25
- "rxjs": "^7.8.1",
26
- "typeorm": "^0.3.20"
27
- },
28
- "devDependencies": {
29
- "@types/node": "^20.1.7",
30
- "ts-node-dev": "^2.0.0",
31
- "typescript": "^5.3.3"
32
- }
33
- }
1
+ {
2
+ "name": "@memberjunction/ai-vectors-pinecone",
3
+ "version": "1.0.7",
4
+ "description": "MemberJunction: Pinecone Implementation for AI Vectors",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "/dist"
9
+ ],
10
+ "scripts": {
11
+ "start": "ts-node-dev src/index.ts",
12
+ "build": "tsc",
13
+ "test": "echo \"Error: no test specified\" && exit 1"
14
+ },
15
+ "author": "MemberJunction.com",
16
+ "license": "ISC",
17
+ "dependencies": {
18
+ "@memberjunction/aiengine": "^1.0.7",
19
+ "@memberjunction/core": "^1.0.7",
20
+ "@memberjunction/global": "^1.0.7",
21
+ "@memberjunction/ai-vectors": "^1.0.7",
22
+ "@pinecone-database/pinecone": "^2.0.1",
23
+ "dotenv": "^16.0.3",
24
+ "openai": "^3.2.1",
25
+ "rxjs": "^7.8.1",
26
+ "typeorm": "^0.3.20"
27
+ },
28
+ "devDependencies": {
29
+ "@types/node": "^20.1.7",
30
+ "ts-node-dev": "^2.0.0",
31
+ "typescript": "^5.3.3"
32
+ }
33
+ }
package/dist/db/db.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import * as mssql from 'mssql';
2
- declare const SQLConnectionPool: mssql.ConnectionPool;
3
- export default SQLConnectionPool;
package/dist/db/db.js DELETED
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- const mssql = __importStar(require("mssql"));
27
- const config_1 = require("../config");
28
- const config = {
29
- user: config_1.dbUsername,
30
- password: config_1.dbPassword,
31
- server: config_1.dbHost,
32
- port: config_1.dbPort,
33
- database: config_1.dbDatabase,
34
- options: {
35
- encrypt: true,
36
- },
37
- };
38
- const SQLConnectionPool = new mssql.ConnectionPool(config);
39
- exports.default = SQLConnectionPool;
40
- //# sourceMappingURL=db.js.map
package/dist/db/db.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"db.js","sourceRoot":"","sources":["../../src/db/db.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,sCAA+E;AAE/E,MAAM,MAAM,GAAG;IACb,IAAI,EAAE,mBAAU;IAChB,QAAQ,EAAE,mBAAU;IACpB,MAAM,EAAE,eAAM;IACd,IAAI,EAAE,eAAM;IACZ,QAAQ,EAAE,mBAAU;IACpB,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;KACd;CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,IAAI,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;AAE3D,kBAAe,iBAAiB,CAAC"}
package/dist/db/dbAI.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { DataSource } from 'typeorm';
2
- declare const AppDataSource: DataSource;
3
- export default AppDataSource;
package/dist/db/dbAI.js DELETED
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const config_1 = require("../config");
4
- const typeorm_1 = require("typeorm");
5
- const orm = {
6
- type: 'mssql',
7
- logging: false,
8
- host: config_1.dbHost,
9
- port: config_1.dbPort,
10
- username: config_1.dbUsername,
11
- password: config_1.dbPassword,
12
- database: config_1.dbDatabase,
13
- synchronize: false,
14
- requestTimeout: 45000
15
- };
16
- const AppDataSource = new typeorm_1.DataSource(orm);
17
- exports.default = AppDataSource;
18
- //# sourceMappingURL=dbAI.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dbAI.js","sourceRoot":"","sources":["../../src/db/dbAI.ts"],"names":[],"mappings":";;AACA,sCAA+E;AAC/E,qCAAqC;AAGrC,MAAM,GAAG,GAA+B;IACtC,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,KAAK;IACd,IAAI,EAAE,eAAM;IACZ,IAAI,EAAE,eAAM;IACZ,QAAQ,EAAE,mBAAU;IACpB,QAAQ,EAAE,mBAAU;IACpB,QAAQ,EAAE,mBAAU;IACpB,WAAW,EAAE,KAAK;IAClB,cAAc,EAAE,KAAK;CACtB,CAAC;AAEF,MAAM,aAAa,GAAG,IAAI,oBAAU,CAAC,GAAG,CAAC,CAAA;AAEzC,kBAAe,aAAa,CAAC"}