@omnia/fx-models 8.0.325-dev → 8.0.326-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/Exposes.d.ts +1 -0
- package/Exposes.js +1 -0
- package/package.json +1 -1
- package/semanticsearch/SemanticSearchRequest.d.ts +3 -0
- package/semanticsearch/SemanticSearchRequest.js +2 -0
- package/semanticsearch/SemanticSearchResponse.d.ts +25 -0
- package/semanticsearch/SemanticSearchResponse.js +10 -0
- package/semanticsearch/index.d.ts +2 -0
- package/semanticsearch/index.js +5 -0
package/Exposes.d.ts
CHANGED
@@ -144,6 +144,7 @@ export * from "./action-btn";
|
|
144
144
|
export * from "./typography";
|
145
145
|
export * from "./redirect";
|
146
146
|
export * from "./command-palette";
|
147
|
+
export * from "./semanticsearch";
|
147
148
|
export * from "./FileIdentifier";
|
148
149
|
export * from "./FilePicker";
|
149
150
|
export * from "./LoginLogFilter";
|
package/Exposes.js
CHANGED
@@ -156,6 +156,7 @@ 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);
|
159
160
|
//************************************************************************************ */
|
160
161
|
// End of folder exports
|
161
162
|
//************************************************************************************ */
|
package/package.json
CHANGED
@@ -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 = {}));
|