@omnia/fx-models 7.8.32-preview → 7.8.34-preview

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/Exposes.d.ts CHANGED
@@ -130,6 +130,7 @@ export * from "./bulkimportusers";
130
130
  export * from "./linkstatus";
131
131
  export * from "./statuscodelayout";
132
132
  export * from "./analytics";
133
+ export * from "./semanticsearch";
133
134
  export * from "./FilePicker";
134
135
  export * from "./FileIdentifier";
135
136
  export * from "./UserAgent";
package/Exposes.js CHANGED
@@ -142,6 +142,7 @@ tslib_1.__exportStar(require("./bulkimportusers"), exports);
142
142
  tslib_1.__exportStar(require("./linkstatus"), exports);
143
143
  tslib_1.__exportStar(require("./statuscodelayout"), exports);
144
144
  tslib_1.__exportStar(require("./analytics"), exports);
145
+ tslib_1.__exportStar(require("./semanticsearch"), exports);
145
146
  //************************************************************************************ */
146
147
  // End of folder exports
147
148
  //************************************************************************************ */
@@ -58,5 +58,4 @@ export declare const FilterEngineStyles: {
58
58
  left?: boolean;
59
59
  bottom?: boolean;
60
60
  }) => NestedCSSPropertiesExtends;
61
- hiddenSearchAlertContainer?: types.NestedCSSProperties;
62
61
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "7.8.32-preview",
4
+ "version": "7.8.34-preview",
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 { GuidValue } from "../Exposes";
2
+ export interface SemanticSearchJobResult {
3
+ id: GuidValue;
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: GuidValue;
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 || (exports.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);