@absolutejs/rag 0.24.4 → 0.24.5
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.
|
@@ -20,11 +20,11 @@ export declare const ReviewSchema: import("@sinclair/typebox").TObject<{
|
|
|
20
20
|
export declare const reviewSchemaForPaths: (paths: string[]) => import("@sinclair/typebox").TObject<{
|
|
21
21
|
fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
22
22
|
path: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>;
|
|
23
|
-
|
|
23
|
+
verdict: import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"unknown" | "supported" | "unsupported" | "conflicting">[]>;
|
|
24
24
|
citations: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
25
25
|
passageId: import("@sinclair/typebox").TString;
|
|
26
26
|
}>>;
|
|
27
|
-
|
|
27
|
+
reason: import("@sinclair/typebox").TString;
|
|
28
28
|
checks: import("@sinclair/typebox").TObject<{
|
|
29
29
|
answersQuestion: import("@sinclair/typebox").TBoolean;
|
|
30
30
|
correctEntity: import("@sinclair/typebox").TBoolean;
|
package/dist/web-index/index.js
CHANGED
|
@@ -123411,11 +123411,7 @@ var ReviewSchema = Type.Object({
|
|
|
123411
123411
|
var reviewSchemaForPaths = (paths) => Type.Object({
|
|
123412
123412
|
fields: Type.Array(Type.Object({
|
|
123413
123413
|
...ReviewSchema.properties.fields.items.properties,
|
|
123414
|
-
path: Type.Union(paths.map((path) => Type.Literal(path)))
|
|
123415
|
-
reason: Type.String({ maxLength: 180 }),
|
|
123416
|
-
citations: Type.Array(Type.Object({ passageId: Type.String() }), {
|
|
123417
|
-
maxItems: 4
|
|
123418
|
-
})
|
|
123414
|
+
path: Type.Union(paths.map((path) => Type.Literal(path)))
|
|
123419
123415
|
}, { additionalProperties: false }), { minItems: paths.length, maxItems: paths.length })
|
|
123420
123416
|
}, { additionalProperties: false });
|
|
123421
123417
|
var researchLeaves = (value, maxFields = 128) => {
|
|
@@ -124221,5 +124217,5 @@ export {
|
|
|
124221
124217
|
webIndexPostgresSchemaSql
|
|
124222
124218
|
};
|
|
124223
124219
|
|
|
124224
|
-
//# debugId=
|
|
124220
|
+
//# debugId=26FFF5EE0DF8239664756E2164756E21
|
|
124225
124221
|
//# sourceMappingURL=index.js.map
|