@guava-ai/guava-sdk 0.4.3 → 0.5.0
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/examples/property-insurance.js +1 -1
- package/dist/examples/scheduling-outbound.js +1 -1
- package/dist/package.json +5 -1
- package/dist/src/{example_data.js → example-data.js} +1 -1
- package/dist/src/{example_data.js.map → example-data.js.map} +1 -1
- package/examples/property-insurance.ts +1 -1
- package/examples/scheduling-outbound.ts +1 -1
- package/package.json +5 -1
- /package/dist/src/{example_data.d.ts → example-data.d.ts} +0 -0
- /package/src/{example_data.ts → example-data.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as guava from "../src/index.js";
|
|
2
2
|
import { DocumentQA } from "../src/helpers/openai.js";
|
|
3
|
-
import { PROPERTY_INSURANCE_POLICY } from "../src/
|
|
3
|
+
import { PROPERTY_INSURANCE_POLICY } from "../src/example-data.js";
|
|
4
4
|
class InsuranceCallController extends guava.CallController {
|
|
5
5
|
documentQA;
|
|
6
6
|
constructor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as guava from "../src/index.js";
|
|
2
2
|
import { DatetimeFilter } from "../src/helpers/openai.js";
|
|
3
|
-
import { mockAppointmentsForFuture } from "../src/
|
|
3
|
+
import { mockAppointmentsForFuture } from "../src/example-data.js";
|
|
4
4
|
class SchedulingController extends guava.CallController {
|
|
5
5
|
patientName;
|
|
6
6
|
datetimeFilter;
|
package/dist/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@guava-ai/guava-sdk",
|
|
3
3
|
"description": "The official TypeScript SDK for building Guava voice agents.",
|
|
4
4
|
"homepage": "https://docs.goguava.ai/typescript-sdk/",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.5.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"types": "dist/src/index.d.ts",
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
"./helpers/openai": {
|
|
15
15
|
"types": "./dist/src/helpers/openai.d.ts",
|
|
16
16
|
"import": "./dist/src/helpers/openai.js"
|
|
17
|
+
},
|
|
18
|
+
"./example-data": {
|
|
19
|
+
"types": "./dist/src/example-data.d.ts",
|
|
20
|
+
"import": "./dist/src/example-data.js"
|
|
17
21
|
}
|
|
18
22
|
},
|
|
19
23
|
"devDependencies": {
|
|
@@ -640,4 +640,4 @@ The actual insurance policy, including Declarations, core forms, endorsements, a
|
|
|
640
640
|
|
|
641
641
|
End of Harper Valley Property Insurance
|
|
642
642
|
Comprehensive Residential Program Manual.`;
|
|
643
|
-
//# sourceMappingURL=
|
|
643
|
+
//# sourceMappingURL=example-data.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"example-data.js","sourceRoot":"","sources":["../../src/example-data.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,yBAAyB,CAAC,YAAoB,EAAE;IAC9D,MAAM,QAAQ,GAAG,qBAAqB,CAAC;IACvC,MAAM,gBAAgB,GAAa,EAAE,CAAC;IAEtC,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;IAEvB,gDAAgD;IAChD,MAAM,WAAW,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE;QACnD,QAAQ;QACR,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,GAAG,EAAE,SAAS;KACf,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAEtB,MAAM,IAAI,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,EAAE,KAAK,CAAC,CAAC;IACvE,MAAM,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,K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CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QACzD,CAAC;IACH,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAgmBC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as guava from "../src/index.ts";
|
|
2
2
|
import { DocumentQA } from "../src/helpers/openai.ts";
|
|
3
|
-
import { PROPERTY_INSURANCE_POLICY } from "../src/
|
|
3
|
+
import { PROPERTY_INSURANCE_POLICY } from "../src/example-data.ts";
|
|
4
4
|
|
|
5
5
|
class InsuranceCallController extends guava.CallController {
|
|
6
6
|
private documentQA: DocumentQA;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as guava from "../src/index.ts";
|
|
2
2
|
import { DatetimeFilter } from "../src/helpers/openai.ts";
|
|
3
|
-
import { mockAppointmentsForFuture } from "../src/
|
|
3
|
+
import { mockAppointmentsForFuture } from "../src/example-data.ts";
|
|
4
4
|
|
|
5
5
|
class SchedulingController extends guava.CallController {
|
|
6
6
|
private readonly patientName: string;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@guava-ai/guava-sdk",
|
|
3
3
|
"description": "The official TypeScript SDK for building Guava voice agents.",
|
|
4
4
|
"homepage": "https://docs.goguava.ai/typescript-sdk/",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.5.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"types": "dist/src/index.d.ts",
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
"./helpers/openai": {
|
|
15
15
|
"types": "./dist/src/helpers/openai.d.ts",
|
|
16
16
|
"import": "./dist/src/helpers/openai.js"
|
|
17
|
+
},
|
|
18
|
+
"./example-data": {
|
|
19
|
+
"types": "./dist/src/example-data.d.ts",
|
|
20
|
+
"import": "./dist/src/example-data.js"
|
|
17
21
|
}
|
|
18
22
|
},
|
|
19
23
|
"devDependencies": {
|
|
File without changes
|
|
File without changes
|