@omnia/fx-models 8.0.325-dev → 8.0.327-dev

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/Enums.d.ts CHANGED
@@ -360,6 +360,7 @@ export declare const RoleDefinitions: {
360
360
  SharedLinksBPAdmin: guid;
361
361
  SearchBPAdmin: guid;
362
362
  AnalyticsBpReader: guid;
363
+ SemanticSearchReader: guid;
363
364
  };
364
365
  export declare enum FeatureInstanceStatus {
365
366
  NotActivated = -1,
package/Enums.js CHANGED
@@ -396,7 +396,8 @@ exports.RoleDefinitions = {
396
396
  AnnouncementsBPAdmin: (0, models_1.guid)("5fa0ced5-f7ab-4c7a-99d9-1f291cb08cc1"),
397
397
  SharedLinksBPAdmin: (0, models_1.guid)("778c0d53-23ec-4874-8843-86c6c9e55009"),
398
398
  SearchBPAdmin: (0, models_1.guid)("affe1bd8-b534-459b-bdd5-f11e5a2d1d73"),
399
- AnalyticsBpReader: (0, models_1.guid)("ab0d9a26-a89a-4117-bfee-0e3013e456e1")
399
+ AnalyticsBpReader: (0, models_1.guid)("ab0d9a26-a89a-4117-bfee-0e3013e456e1"),
400
+ SemanticSearchReader: (0, models_1.guid)("405577c6-2870-4040-964a-cd2600d8e414")
400
401
  };
401
402
  var FeatureInstanceStatus;
402
403
  (function (FeatureInstanceStatus) {
package/Exposes.d.ts CHANGED
@@ -144,6 +144,8 @@ export * from "./action-btn";
144
144
  export * from "./typography";
145
145
  export * from "./redirect";
146
146
  export * from "./command-palette";
147
+ export * from "./semanticsearch";
148
+ export * from "./aiengine";
147
149
  export * from "./FileIdentifier";
148
150
  export * from "./FilePicker";
149
151
  export * from "./LoginLogFilter";
package/Exposes.js CHANGED
@@ -156,6 +156,8 @@ tslib_1.__exportStar(require("./action-btn"), exports);
156
156
  tslib_1.__exportStar(require("./typography"), exports);
157
157
  tslib_1.__exportStar(require("./redirect"), exports);
158
158
  tslib_1.__exportStar(require("./command-palette"), exports);
159
+ tslib_1.__exportStar(require("./semanticsearch"), exports);
160
+ tslib_1.__exportStar(require("./aiengine"), exports);
159
161
  //************************************************************************************ */
160
162
  // End of folder exports
161
163
  //************************************************************************************ */
@@ -0,0 +1,4 @@
1
+ export interface AIEngineApiKeyCredential {
2
+ key: string;
3
+ url: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface AIEngineRAGSettings {
2
+ llmDeploymentName: string;
3
+ embeddingsDeploymentName: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./AIEngineApiKeyCredential";
2
+ export * from "./AIEngineRAGSettings";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AIEngineApiKeyCredential"), exports);
5
+ tslib_1.__exportStar(require("./AIEngineRAGSettings"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.325-dev",
4
+ "version": "8.0.327-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -0,0 +1,3 @@
1
+ export interface SemanticSearchGetRequest {
2
+ prompt: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ import { guid } from "../Exposes";
2
+ export interface SemanticSearchJobResult {
3
+ id: guid;
4
+ status: SemanticSearchJobStatus;
5
+ }
6
+ export interface SemanticSearchJobResultWithData<T> extends SemanticSearchJobResult {
7
+ result: T;
8
+ }
9
+ export interface SemanticSearchResult {
10
+ answer: string;
11
+ references: SemanticSearchReference[];
12
+ isUncertainAnswer: boolean;
13
+ }
14
+ export interface SemanticSearchReference {
15
+ id: string;
16
+ typeId: guid;
17
+ content: string;
18
+ page: number;
19
+ }
20
+ export declare enum SemanticSearchJobStatus {
21
+ Created = 0,
22
+ Started = 1,
23
+ Finished = 2,
24
+ Error = 3
25
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SemanticSearchJobStatus = void 0;
4
+ var SemanticSearchJobStatus;
5
+ (function (SemanticSearchJobStatus) {
6
+ SemanticSearchJobStatus[SemanticSearchJobStatus["Created"] = 0] = "Created";
7
+ SemanticSearchJobStatus[SemanticSearchJobStatus["Started"] = 1] = "Started";
8
+ SemanticSearchJobStatus[SemanticSearchJobStatus["Finished"] = 2] = "Finished";
9
+ SemanticSearchJobStatus[SemanticSearchJobStatus["Error"] = 3] = "Error";
10
+ })(SemanticSearchJobStatus || (exports.SemanticSearchJobStatus = SemanticSearchJobStatus = {}));
@@ -0,0 +1,2 @@
1
+ export * from "./SemanticSearchRequest";
2
+ export * from "./SemanticSearchResponse";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./SemanticSearchRequest"), exports);
5
+ tslib_1.__exportStar(require("./SemanticSearchResponse"), exports);