@orq-ai/node 4.15.0-rc.54 → 4.15.0-rc.55
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/README.md +7 -1
- package/funcs/datasetsList.js +1 -0
- package/funcs/datasetsList.js.map +1 -1
- package/funcs/evalsAll.d.ts +2 -2
- package/funcs/evalsAll.d.ts.map +1 -1
- package/funcs/evalsAll.js +5 -2
- package/funcs/evalsAll.js.map +1 -1
- package/funcs/evalsCreate.d.ts +2 -1
- package/funcs/evalsCreate.d.ts.map +1 -1
- package/funcs/evalsCreate.js +19 -4
- package/funcs/evalsCreate.js.map +1 -1
- package/funcs/evalsDelete.d.ts +2 -2
- package/funcs/evalsDelete.d.ts.map +1 -1
- package/funcs/evalsDelete.js +6 -2
- package/funcs/evalsDelete.js.map +1 -1
- package/funcs/evalsGet.d.ts +2 -1
- package/funcs/evalsGet.d.ts.map +1 -1
- package/funcs/evalsGet.js +5 -1
- package/funcs/evalsGet.js.map +1 -1
- package/funcs/evalsUpdate.d.ts +2 -1
- package/funcs/evalsUpdate.d.ts.map +1 -1
- package/funcs/evalsUpdate.js +5 -1
- package/funcs/evalsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/chunkingconfiguration.d.ts +30 -30
- package/models/components/chunkingconfiguration.d.ts.map +1 -1
- package/models/components/chunkingconfiguration.js +36 -37
- package/models/components/chunkingconfiguration.js.map +1 -1
- package/models/components/evaluatorresponsefunction.d.ts +230 -0
- package/models/components/evaluatorresponsefunction.d.ts.map +1 -0
- package/models/components/evaluatorresponsefunction.js +420 -0
- package/models/components/evaluatorresponsefunction.js.map +1 -0
- package/models/components/evaluatorresponsehttp.d.ts +37 -0
- package/models/components/evaluatorresponsehttp.d.ts.map +1 -0
- package/models/components/evaluatorresponsehttp.js +77 -0
- package/models/components/evaluatorresponsehttp.js.map +1 -0
- package/models/components/evaluatorresponsejsonschema.d.ts +22 -0
- package/models/components/evaluatorresponsejsonschema.d.ts.map +1 -0
- package/models/components/{listevaluatorsresponse.js → evaluatorresponsejsonschema.js} +20 -16
- package/models/components/evaluatorresponsejsonschema.js.map +1 -0
- package/models/components/evaluatorresponsellm.d.ts +101 -0
- package/models/components/evaluatorresponsellm.d.ts.map +1 -0
- package/models/components/evaluatorresponsellm.js +181 -0
- package/models/components/evaluatorresponsellm.js.map +1 -0
- package/models/components/evaluatorresponsepython.d.ts +22 -0
- package/models/components/evaluatorresponsepython.d.ts.map +1 -0
- package/models/components/evaluatorresponsepython.js +67 -0
- package/models/components/evaluatorresponsepython.js.map +1 -0
- package/models/components/evaluatorresponseragas.d.ts +41 -0
- package/models/components/evaluatorresponseragas.d.ts.map +1 -0
- package/models/components/evaluatorresponseragas.js +86 -0
- package/models/components/evaluatorresponseragas.js.map +1 -0
- package/models/components/evaluatorresponsetypescript.d.ts +22 -0
- package/models/components/evaluatorresponsetypescript.d.ts.map +1 -0
- package/models/components/evaluatorresponsetypescript.js +67 -0
- package/models/components/evaluatorresponsetypescript.js.map +1 -0
- package/models/components/index.d.ts +7 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +7 -2
- package/models/components/index.js.map +1 -1
- package/models/components/queryreportrequest.d.ts +5 -5
- package/models/components/queryreportrequest.d.ts.map +1 -1
- package/models/components/queryreportrequest.js +6 -6
- package/models/components/queryreportrequest.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/errors/createeval.d.ts +23 -0
- package/models/errors/createeval.d.ts.map +1 -0
- package/models/errors/createeval.js +68 -0
- package/models/errors/createeval.js.map +1 -0
- package/models/errors/deleteeval.d.ts +43 -0
- package/models/errors/deleteeval.d.ts.map +1 -0
- package/models/errors/deleteeval.js +94 -0
- package/models/errors/deleteeval.js.map +1 -0
- package/models/errors/geteval.d.ts +23 -0
- package/models/errors/geteval.d.ts.map +1 -0
- package/models/errors/geteval.js +68 -0
- package/models/errors/geteval.js.map +1 -0
- package/models/errors/getevals.d.ts +23 -0
- package/models/errors/getevals.d.ts.map +1 -0
- package/models/{components/deleteevaluatorresponse.js → errors/getevals.js} +28 -8
- package/models/errors/getevals.js.map +1 -0
- package/models/errors/index.d.ts +5 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +5 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/updateeval.d.ts +23 -0
- package/models/errors/updateeval.d.ts.map +1 -0
- package/models/errors/updateeval.js +68 -0
- package/models/errors/updateeval.js.map +1 -0
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createeval.d.ts +305 -4
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +258 -3
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.d.ts +4 -4
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +9 -9
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/geteval.d.ts +804 -2
- package/models/operations/geteval.d.ts.map +1 -1
- package/models/operations/geteval.js +1244 -2
- package/models/operations/geteval.js.map +1 -1
- package/models/operations/getevals.d.ts +41 -3
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +52 -3
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.d.ts +5 -0
- package/models/operations/listdatasets.d.ts.map +1 -1
- package/models/operations/listdatasets.js +3 -1
- package/models/operations/listdatasets.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updateeval.d.ts +194 -6
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +155 -4
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +1 -1
- package/sdk/evals.d.ts +3 -3
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js.map +1 -1
- package/src/funcs/datasetsList.ts +1 -0
- package/src/funcs/evalsAll.ts +14 -6
- package/src/funcs/evalsCreate.ts +31 -5
- package/src/funcs/evalsDelete.ts +19 -6
- package/src/funcs/evalsGet.ts +10 -1
- package/src/funcs/evalsUpdate.ts +10 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/chunkingconfiguration.ts +150 -110
- package/src/models/components/evaluatorresponsefunction.ts +928 -0
- package/src/models/components/evaluatorresponsehttp.ts +77 -0
- package/src/models/components/evaluatorresponsejsonschema.ts +60 -0
- package/src/models/components/evaluatorresponsellm.ts +310 -0
- package/src/models/components/evaluatorresponsepython.ts +60 -0
- package/src/models/components/evaluatorresponseragas.ts +84 -0
- package/src/models/components/evaluatorresponsetypescript.ts +60 -0
- package/src/models/components/index.ts +7 -2
- package/src/models/components/queryreportrequest.ts +11 -10
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/errors/createeval.ts +51 -0
- package/src/models/errors/deleteeval.ts +96 -0
- package/src/models/errors/geteval.ts +51 -0
- package/src/models/errors/getevals.ts +51 -0
- package/src/models/errors/index.ts +5 -0
- package/src/models/errors/updateeval.ts +51 -0
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createeval.ts +628 -6
- package/src/models/operations/createtool.ts +13 -11
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/geteval.ts +2751 -3
- package/src/models/operations/getevals.ts +123 -5
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +8 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateeval.ts +393 -9
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/evals.ts +3 -3
- package/models/components/deleteevaluatorresponse.d.ts +0 -8
- package/models/components/deleteevaluatorresponse.d.ts.map +0 -1
- package/models/components/deleteevaluatorresponse.js.map +0 -1
- package/models/components/listevaluatorsresponse.d.ts +0 -16
- package/models/components/listevaluatorsresponse.d.ts.map +0 -1
- package/models/components/listevaluatorsresponse.js.map +0 -1
- package/src/models/components/deleteevaluatorresponse.ts +0 -27
- package/src/models/components/listevaluatorsresponse.ts +0 -59
|
@@ -3,7 +3,7 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Asks a model to choose the boundaries. Slowest and most expensive, best on documents with irregular structure. Makes paid model calls.
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type ChunkingConfiguration9 = {
|
|
7
7
|
type: "agentic";
|
|
8
8
|
/**
|
|
9
9
|
* Maximum number of tokens per chunk.
|
|
@@ -29,7 +29,7 @@ export type Nine = {
|
|
|
29
29
|
/**
|
|
30
30
|
* Embeds the document before splitting it recursively, so each chunk is embedded with the surrounding document in context. Makes paid embedding calls.
|
|
31
31
|
*/
|
|
32
|
-
export type
|
|
32
|
+
export type ChunkingConfiguration8 = {
|
|
33
33
|
type: "late";
|
|
34
34
|
/**
|
|
35
35
|
* Maximum number of tokens per chunk.
|
|
@@ -66,7 +66,7 @@ export type ChunkingConfigurationMode = ClosedEnum<typeof ChunkingConfigurationM
|
|
|
66
66
|
/**
|
|
67
67
|
* Embeds the text and breaks where meaning shifts, so related passages stay together. Makes paid embedding calls.
|
|
68
68
|
*/
|
|
69
|
-
export type
|
|
69
|
+
export type ChunkingConfiguration7 = {
|
|
70
70
|
type: "semantic";
|
|
71
71
|
/**
|
|
72
72
|
* Maximum number of tokens per chunk.
|
|
@@ -96,7 +96,7 @@ export type Seven = {
|
|
|
96
96
|
/**
|
|
97
97
|
* Splits on delimiters or a regular expression without tokenizing. Fastest option; chunk sizes vary with where delimiters fall.
|
|
98
98
|
*/
|
|
99
|
-
export type
|
|
99
|
+
export type ChunkingConfiguration6 = {
|
|
100
100
|
type: "fast";
|
|
101
101
|
/**
|
|
102
102
|
* Target chunk size in bytes.
|
|
@@ -126,7 +126,7 @@ export type Six = {
|
|
|
126
126
|
/**
|
|
127
127
|
* Splits on a separator hierarchy, falling back through paragraph, line, sentence, and word boundaries until chunks fit. Respects document structure.
|
|
128
128
|
*/
|
|
129
|
-
export type
|
|
129
|
+
export type ChunkingConfiguration5 = {
|
|
130
130
|
type: "recursive";
|
|
131
131
|
/**
|
|
132
132
|
* Maximum number of tokens per chunk.
|
|
@@ -144,7 +144,7 @@ export type Five = {
|
|
|
144
144
|
/**
|
|
145
145
|
* Groups whole sentences up to the chunk size, so chunks never cut a sentence in half.
|
|
146
146
|
*/
|
|
147
|
-
export type
|
|
147
|
+
export type ChunkingConfiguration4 = {
|
|
148
148
|
type: "sentence";
|
|
149
149
|
/**
|
|
150
150
|
* Maximum number of tokens per chunk.
|
|
@@ -162,7 +162,7 @@ export type Four = {
|
|
|
162
162
|
/**
|
|
163
163
|
* Splits text into fixed-size token windows with optional overlap. Predictable chunk sizes, no regard for sentence or paragraph boundaries.
|
|
164
164
|
*/
|
|
165
|
-
export type
|
|
165
|
+
export type ChunkingConfiguration3 = {
|
|
166
166
|
type: "token";
|
|
167
167
|
/**
|
|
168
168
|
* Maximum number of tokens per chunk.
|
|
@@ -200,9 +200,9 @@ export type ChunkingConfiguration1 = {
|
|
|
200
200
|
/**
|
|
201
201
|
* The chunking configuration settings for the datasource. Defaults to the system's standard chunking configuration if not specified.
|
|
202
202
|
*/
|
|
203
|
-
export type ChunkingConfiguration = ChunkingConfiguration1 | ChunkingConfiguration2 |
|
|
203
|
+
export type ChunkingConfiguration = ChunkingConfiguration1 | ChunkingConfiguration2 | ChunkingConfiguration3 | ChunkingConfiguration4 | ChunkingConfiguration5 | ChunkingConfiguration6 | ChunkingConfiguration7 | ChunkingConfiguration8 | ChunkingConfiguration9;
|
|
204
204
|
/** @internal */
|
|
205
|
-
export type
|
|
205
|
+
export type ChunkingConfiguration9$Outbound = {
|
|
206
206
|
type: "agentic";
|
|
207
207
|
chunk_size: number;
|
|
208
208
|
model: string;
|
|
@@ -211,10 +211,10 @@ export type Nine$Outbound = {
|
|
|
211
211
|
system_prompt?: string | undefined;
|
|
212
212
|
};
|
|
213
213
|
/** @internal */
|
|
214
|
-
export declare const
|
|
215
|
-
export declare function
|
|
214
|
+
export declare const ChunkingConfiguration9$outboundSchema: z.ZodType<ChunkingConfiguration9$Outbound, z.ZodTypeDef, ChunkingConfiguration9>;
|
|
215
|
+
export declare function chunkingConfiguration9ToJSON(chunkingConfiguration9: ChunkingConfiguration9): string;
|
|
216
216
|
/** @internal */
|
|
217
|
-
export type
|
|
217
|
+
export type ChunkingConfiguration8$Outbound = {
|
|
218
218
|
type: "late";
|
|
219
219
|
chunk_size: number;
|
|
220
220
|
separators?: Array<string> | undefined;
|
|
@@ -223,12 +223,12 @@ export type Eight$Outbound = {
|
|
|
223
223
|
dimensions?: number | undefined;
|
|
224
224
|
};
|
|
225
225
|
/** @internal */
|
|
226
|
-
export declare const
|
|
227
|
-
export declare function
|
|
226
|
+
export declare const ChunkingConfiguration8$outboundSchema: z.ZodType<ChunkingConfiguration8$Outbound, z.ZodTypeDef, ChunkingConfiguration8>;
|
|
227
|
+
export declare function chunkingConfiguration8ToJSON(chunkingConfiguration8: ChunkingConfiguration8): string;
|
|
228
228
|
/** @internal */
|
|
229
229
|
export declare const ChunkingConfigurationMode$outboundSchema: z.ZodNativeEnum<typeof ChunkingConfigurationMode>;
|
|
230
230
|
/** @internal */
|
|
231
|
-
export type
|
|
231
|
+
export type ChunkingConfiguration7$Outbound = {
|
|
232
232
|
type: "semantic";
|
|
233
233
|
chunk_size: number;
|
|
234
234
|
embedding_model?: string | undefined;
|
|
@@ -238,10 +238,10 @@ export type Seven$Outbound = {
|
|
|
238
238
|
similarity_window: number;
|
|
239
239
|
};
|
|
240
240
|
/** @internal */
|
|
241
|
-
export declare const
|
|
242
|
-
export declare function
|
|
241
|
+
export declare const ChunkingConfiguration7$outboundSchema: z.ZodType<ChunkingConfiguration7$Outbound, z.ZodTypeDef, ChunkingConfiguration7>;
|
|
242
|
+
export declare function chunkingConfiguration7ToJSON(chunkingConfiguration7: ChunkingConfiguration7): string;
|
|
243
243
|
/** @internal */
|
|
244
|
-
export type
|
|
244
|
+
export type ChunkingConfiguration6$Outbound = {
|
|
245
245
|
type: "fast";
|
|
246
246
|
target_size: number;
|
|
247
247
|
delimiters: string;
|
|
@@ -251,37 +251,37 @@ export type Six$Outbound = {
|
|
|
251
251
|
forward_fallback: boolean;
|
|
252
252
|
};
|
|
253
253
|
/** @internal */
|
|
254
|
-
export declare const
|
|
255
|
-
export declare function
|
|
254
|
+
export declare const ChunkingConfiguration6$outboundSchema: z.ZodType<ChunkingConfiguration6$Outbound, z.ZodTypeDef, ChunkingConfiguration6>;
|
|
255
|
+
export declare function chunkingConfiguration6ToJSON(chunkingConfiguration6: ChunkingConfiguration6): string;
|
|
256
256
|
/** @internal */
|
|
257
|
-
export type
|
|
257
|
+
export type ChunkingConfiguration5$Outbound = {
|
|
258
258
|
type: "recursive";
|
|
259
259
|
chunk_size: number;
|
|
260
260
|
separators?: Array<string> | undefined;
|
|
261
261
|
min_characters_per_chunk: number;
|
|
262
262
|
};
|
|
263
263
|
/** @internal */
|
|
264
|
-
export declare const
|
|
265
|
-
export declare function
|
|
264
|
+
export declare const ChunkingConfiguration5$outboundSchema: z.ZodType<ChunkingConfiguration5$Outbound, z.ZodTypeDef, ChunkingConfiguration5>;
|
|
265
|
+
export declare function chunkingConfiguration5ToJSON(chunkingConfiguration5: ChunkingConfiguration5): string;
|
|
266
266
|
/** @internal */
|
|
267
|
-
export type
|
|
267
|
+
export type ChunkingConfiguration4$Outbound = {
|
|
268
268
|
type: "sentence";
|
|
269
269
|
chunk_size: number;
|
|
270
270
|
chunk_overlap: number;
|
|
271
271
|
min_sentences_per_chunk: number;
|
|
272
272
|
};
|
|
273
273
|
/** @internal */
|
|
274
|
-
export declare const
|
|
275
|
-
export declare function
|
|
274
|
+
export declare const ChunkingConfiguration4$outboundSchema: z.ZodType<ChunkingConfiguration4$Outbound, z.ZodTypeDef, ChunkingConfiguration4>;
|
|
275
|
+
export declare function chunkingConfiguration4ToJSON(chunkingConfiguration4: ChunkingConfiguration4): string;
|
|
276
276
|
/** @internal */
|
|
277
|
-
export type
|
|
277
|
+
export type ChunkingConfiguration3$Outbound = {
|
|
278
278
|
type: "token";
|
|
279
279
|
chunk_size: number;
|
|
280
280
|
chunk_overlap: number;
|
|
281
281
|
};
|
|
282
282
|
/** @internal */
|
|
283
|
-
export declare const
|
|
284
|
-
export declare function
|
|
283
|
+
export declare const ChunkingConfiguration3$outboundSchema: z.ZodType<ChunkingConfiguration3$Outbound, z.ZodTypeDef, ChunkingConfiguration3>;
|
|
284
|
+
export declare function chunkingConfiguration3ToJSON(chunkingConfiguration3: ChunkingConfiguration3): string;
|
|
285
285
|
/** @internal */
|
|
286
286
|
export type ChunkingConfiguration2$Outbound = {
|
|
287
287
|
type: "advanced";
|
|
@@ -299,7 +299,7 @@ export type ChunkingConfiguration1$Outbound = {
|
|
|
299
299
|
export declare const ChunkingConfiguration1$outboundSchema: z.ZodType<ChunkingConfiguration1$Outbound, z.ZodTypeDef, ChunkingConfiguration1>;
|
|
300
300
|
export declare function chunkingConfiguration1ToJSON(chunkingConfiguration1: ChunkingConfiguration1): string;
|
|
301
301
|
/** @internal */
|
|
302
|
-
export type ChunkingConfiguration$Outbound = ChunkingConfiguration1$Outbound | ChunkingConfiguration2$Outbound |
|
|
302
|
+
export type ChunkingConfiguration$Outbound = ChunkingConfiguration1$Outbound | ChunkingConfiguration2$Outbound | ChunkingConfiguration3$Outbound | ChunkingConfiguration4$Outbound | ChunkingConfiguration5$Outbound | ChunkingConfiguration6$Outbound | ChunkingConfiguration7$Outbound | ChunkingConfiguration8$Outbound | ChunkingConfiguration9$Outbound;
|
|
303
303
|
/** @internal */
|
|
304
304
|
export declare const ChunkingConfiguration$outboundSchema: z.ZodType<ChunkingConfiguration$Outbound, z.ZodTypeDef, ChunkingConfiguration>;
|
|
305
305
|
export declare function chunkingConfigurationToJSON(chunkingConfiguration: ChunkingConfiguration): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunkingconfiguration.d.ts","sourceRoot":"","sources":["../../src/models/components/chunkingconfiguration.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"chunkingconfiguration.d.ts","sourceRoot":"","sources":["../../src/models/components/chunkingconfiguration.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,KAAK,CA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C7C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,IAAI,EAAE,UAAU,CAAC;IACjB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAUtB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAGtB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GACtC,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAWrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -36,14 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ChunkingConfiguration$outboundSchema = exports.ChunkingConfiguration1$outboundSchema = exports.ChunkingConfiguration2$outboundSchema = exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
39
|
+
exports.ChunkingConfiguration$outboundSchema = exports.ChunkingConfiguration1$outboundSchema = exports.ChunkingConfiguration2$outboundSchema = exports.ChunkingConfiguration3$outboundSchema = exports.ChunkingConfiguration4$outboundSchema = exports.ChunkingConfiguration5$outboundSchema = exports.ChunkingConfiguration6$outboundSchema = exports.ChunkingConfiguration7$outboundSchema = exports.ChunkingConfigurationMode$outboundSchema = exports.ChunkingConfiguration8$outboundSchema = exports.ChunkingConfiguration9$outboundSchema = exports.ChunkingConfigurationMode = void 0;
|
|
40
|
+
exports.chunkingConfiguration9ToJSON = chunkingConfiguration9ToJSON;
|
|
41
|
+
exports.chunkingConfiguration8ToJSON = chunkingConfiguration8ToJSON;
|
|
42
|
+
exports.chunkingConfiguration7ToJSON = chunkingConfiguration7ToJSON;
|
|
43
|
+
exports.chunkingConfiguration6ToJSON = chunkingConfiguration6ToJSON;
|
|
44
|
+
exports.chunkingConfiguration5ToJSON = chunkingConfiguration5ToJSON;
|
|
45
|
+
exports.chunkingConfiguration4ToJSON = chunkingConfiguration4ToJSON;
|
|
46
|
+
exports.chunkingConfiguration3ToJSON = chunkingConfiguration3ToJSON;
|
|
47
47
|
exports.chunkingConfiguration2ToJSON = chunkingConfiguration2ToJSON;
|
|
48
48
|
exports.chunkingConfiguration1ToJSON = chunkingConfiguration1ToJSON;
|
|
49
49
|
exports.chunkingConfigurationToJSON = chunkingConfigurationToJSON;
|
|
@@ -57,7 +57,7 @@ exports.ChunkingConfigurationMode = {
|
|
|
57
57
|
Sentence: "sentence",
|
|
58
58
|
};
|
|
59
59
|
/** @internal */
|
|
60
|
-
exports.
|
|
60
|
+
exports.ChunkingConfiguration9$outboundSchema = z.object({
|
|
61
61
|
type: z.literal("agentic"),
|
|
62
62
|
chunkSize: z.number().int().default(1024),
|
|
63
63
|
model: z.string().default("openai/gpt-4o"),
|
|
@@ -72,11 +72,11 @@ exports.Nine$outboundSchema = z.object({
|
|
|
72
72
|
systemPrompt: "system_prompt",
|
|
73
73
|
});
|
|
74
74
|
});
|
|
75
|
-
function
|
|
76
|
-
return JSON.stringify(exports.
|
|
75
|
+
function chunkingConfiguration9ToJSON(chunkingConfiguration9) {
|
|
76
|
+
return JSON.stringify(exports.ChunkingConfiguration9$outboundSchema.parse(chunkingConfiguration9));
|
|
77
77
|
}
|
|
78
78
|
/** @internal */
|
|
79
|
-
exports.
|
|
79
|
+
exports.ChunkingConfiguration8$outboundSchema = z.object({
|
|
80
80
|
type: z.literal("late"),
|
|
81
81
|
chunkSize: z.number().int().default(512),
|
|
82
82
|
separators: z.array(z.string()).optional(),
|
|
@@ -90,13 +90,13 @@ exports.Eight$outboundSchema = z.object({
|
|
|
90
90
|
embeddingModel: "embedding_model",
|
|
91
91
|
});
|
|
92
92
|
});
|
|
93
|
-
function
|
|
94
|
-
return JSON.stringify(exports.
|
|
93
|
+
function chunkingConfiguration8ToJSON(chunkingConfiguration8) {
|
|
94
|
+
return JSON.stringify(exports.ChunkingConfiguration8$outboundSchema.parse(chunkingConfiguration8));
|
|
95
95
|
}
|
|
96
96
|
/** @internal */
|
|
97
97
|
exports.ChunkingConfigurationMode$outboundSchema = z.nativeEnum(exports.ChunkingConfigurationMode);
|
|
98
98
|
/** @internal */
|
|
99
|
-
exports.
|
|
99
|
+
exports.ChunkingConfiguration7$outboundSchema = z.object({
|
|
100
100
|
type: z.literal("semantic"),
|
|
101
101
|
chunkSize: z.number().int().default(512),
|
|
102
102
|
embeddingModel: z.string().optional(),
|
|
@@ -111,12 +111,11 @@ exports.Seven$outboundSchema = z.object({
|
|
|
111
111
|
similarityWindow: "similarity_window",
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
|
-
function
|
|
115
|
-
return JSON.stringify(exports.
|
|
114
|
+
function chunkingConfiguration7ToJSON(chunkingConfiguration7) {
|
|
115
|
+
return JSON.stringify(exports.ChunkingConfiguration7$outboundSchema.parse(chunkingConfiguration7));
|
|
116
116
|
}
|
|
117
117
|
/** @internal */
|
|
118
|
-
exports.
|
|
119
|
-
.object({
|
|
118
|
+
exports.ChunkingConfiguration6$outboundSchema = z.object({
|
|
120
119
|
type: z.literal("fast"),
|
|
121
120
|
targetSize: z.number().int().default(4096),
|
|
122
121
|
delimiters: z.string().default("\n.?"),
|
|
@@ -130,11 +129,11 @@ exports.Six$outboundSchema = z
|
|
|
130
129
|
forwardFallback: "forward_fallback",
|
|
131
130
|
});
|
|
132
131
|
});
|
|
133
|
-
function
|
|
134
|
-
return JSON.stringify(exports.
|
|
132
|
+
function chunkingConfiguration6ToJSON(chunkingConfiguration6) {
|
|
133
|
+
return JSON.stringify(exports.ChunkingConfiguration6$outboundSchema.parse(chunkingConfiguration6));
|
|
135
134
|
}
|
|
136
135
|
/** @internal */
|
|
137
|
-
exports.
|
|
136
|
+
exports.ChunkingConfiguration5$outboundSchema = z.object({
|
|
138
137
|
type: z.literal("recursive"),
|
|
139
138
|
chunkSize: z.number().int().default(512),
|
|
140
139
|
separators: z.array(z.string()).optional(),
|
|
@@ -145,11 +144,11 @@ exports.Five$outboundSchema = z.object({
|
|
|
145
144
|
minCharactersPerChunk: "min_characters_per_chunk",
|
|
146
145
|
});
|
|
147
146
|
});
|
|
148
|
-
function
|
|
149
|
-
return JSON.stringify(exports.
|
|
147
|
+
function chunkingConfiguration5ToJSON(chunkingConfiguration5) {
|
|
148
|
+
return JSON.stringify(exports.ChunkingConfiguration5$outboundSchema.parse(chunkingConfiguration5));
|
|
150
149
|
}
|
|
151
150
|
/** @internal */
|
|
152
|
-
exports.
|
|
151
|
+
exports.ChunkingConfiguration4$outboundSchema = z.object({
|
|
153
152
|
type: z.literal("sentence"),
|
|
154
153
|
chunkSize: z.number().int().default(512),
|
|
155
154
|
chunkOverlap: z.number().int().default(0),
|
|
@@ -161,11 +160,11 @@ exports.Four$outboundSchema = z.object({
|
|
|
161
160
|
minSentencesPerChunk: "min_sentences_per_chunk",
|
|
162
161
|
});
|
|
163
162
|
});
|
|
164
|
-
function
|
|
165
|
-
return JSON.stringify(exports.
|
|
163
|
+
function chunkingConfiguration4ToJSON(chunkingConfiguration4) {
|
|
164
|
+
return JSON.stringify(exports.ChunkingConfiguration4$outboundSchema.parse(chunkingConfiguration4));
|
|
166
165
|
}
|
|
167
166
|
/** @internal */
|
|
168
|
-
exports.
|
|
167
|
+
exports.ChunkingConfiguration3$outboundSchema = z.object({
|
|
169
168
|
type: z.literal("token"),
|
|
170
169
|
chunkSize: z.number().int().default(512),
|
|
171
170
|
chunkOverlap: z.number().int().default(0),
|
|
@@ -175,8 +174,8 @@ exports.Three$outboundSchema = z.object({
|
|
|
175
174
|
chunkOverlap: "chunk_overlap",
|
|
176
175
|
});
|
|
177
176
|
});
|
|
178
|
-
function
|
|
179
|
-
return JSON.stringify(exports.
|
|
177
|
+
function chunkingConfiguration3ToJSON(chunkingConfiguration3) {
|
|
178
|
+
return JSON.stringify(exports.ChunkingConfiguration3$outboundSchema.parse(chunkingConfiguration3));
|
|
180
179
|
}
|
|
181
180
|
/** @internal */
|
|
182
181
|
exports.ChunkingConfiguration2$outboundSchema = z.object({
|
|
@@ -203,13 +202,13 @@ function chunkingConfiguration1ToJSON(chunkingConfiguration1) {
|
|
|
203
202
|
exports.ChunkingConfiguration$outboundSchema = z.union([
|
|
204
203
|
z.lazy(() => exports.ChunkingConfiguration1$outboundSchema),
|
|
205
204
|
z.lazy(() => exports.ChunkingConfiguration2$outboundSchema),
|
|
206
|
-
z.lazy(() => exports.
|
|
207
|
-
z.lazy(() => exports.
|
|
208
|
-
z.lazy(() => exports.
|
|
209
|
-
z.lazy(() => exports.
|
|
210
|
-
z.lazy(() => exports.
|
|
211
|
-
z.lazy(() => exports.
|
|
212
|
-
z.lazy(() => exports.
|
|
205
|
+
z.lazy(() => exports.ChunkingConfiguration3$outboundSchema),
|
|
206
|
+
z.lazy(() => exports.ChunkingConfiguration4$outboundSchema),
|
|
207
|
+
z.lazy(() => exports.ChunkingConfiguration5$outboundSchema),
|
|
208
|
+
z.lazy(() => exports.ChunkingConfiguration6$outboundSchema),
|
|
209
|
+
z.lazy(() => exports.ChunkingConfiguration7$outboundSchema),
|
|
210
|
+
z.lazy(() => exports.ChunkingConfiguration8$outboundSchema),
|
|
211
|
+
z.lazy(() => exports.ChunkingConfiguration9$outboundSchema),
|
|
213
212
|
]);
|
|
214
213
|
function chunkingConfigurationToJSON(chunkingConfiguration) {
|
|
215
214
|
return JSON.stringify(exports.ChunkingConfiguration$outboundSchema.parse(chunkingConfiguration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunkingconfiguration.js","sourceRoot":"","sources":["../../src/models/components/chunkingconfiguration.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"chunkingconfiguration.js","sourceRoot":"","sources":["../../src/models/components/chunkingconfiguration.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoQH,oEAMC;AAgCD,oEAMC;AAuCD,oEAMC;AAiCD,oEAMC;AA2BD,oEAMC;AA4BD,oEAMC;AAyBD,oEAMC;AAyBD,oEAMC;AAgBD,oEAMC;AA+BD,kEAMC;AA9jBD,0CAA4B;AAC5B,2DAA0D;AAyD1D;;GAEG;AACU,QAAA,yBAAyB,GAAG;IACvC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACZ,CAAC;AA6KX,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC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ValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type ThirtyTwo = {
|
|
5
|
+
type: "grammar_diversity";
|
|
6
|
+
};
|
|
7
|
+
export type ThirtyOne = {
|
|
8
|
+
type: "lexical_repetition";
|
|
9
|
+
};
|
|
10
|
+
export type Thirty = {
|
|
11
|
+
type: "sentences_count";
|
|
12
|
+
};
|
|
13
|
+
export type TwentyNine = {
|
|
14
|
+
type: "words_count";
|
|
15
|
+
};
|
|
16
|
+
export type TwentyEight = {
|
|
17
|
+
type: "gse_english_level";
|
|
18
|
+
};
|
|
19
|
+
export type TwentySeven = {
|
|
20
|
+
type: "flesch_reading_ease";
|
|
21
|
+
};
|
|
22
|
+
export type TwentySix = {
|
|
23
|
+
type: "most_repeated_words";
|
|
24
|
+
};
|
|
25
|
+
export type TwentyFive = {
|
|
26
|
+
type: "keywords_match";
|
|
27
|
+
keywords: Array<string>;
|
|
28
|
+
};
|
|
29
|
+
export type TwentyFour = {
|
|
30
|
+
type: "levenshtein_distance";
|
|
31
|
+
};
|
|
32
|
+
export type TwentyThree = {
|
|
33
|
+
type: "cosine_similarity";
|
|
34
|
+
};
|
|
35
|
+
export type TwentyTwo = {
|
|
36
|
+
type: "meteor_score";
|
|
37
|
+
};
|
|
38
|
+
export type TwentyOne = {
|
|
39
|
+
type: "rouge_n";
|
|
40
|
+
};
|
|
41
|
+
export type Twenty = {
|
|
42
|
+
type: "bleu_score";
|
|
43
|
+
};
|
|
44
|
+
export type Nineteen = {
|
|
45
|
+
type: "bert_score";
|
|
46
|
+
};
|
|
47
|
+
export type Eighteen = {
|
|
48
|
+
type: "moderations_google";
|
|
49
|
+
};
|
|
50
|
+
export type Seventeen = {
|
|
51
|
+
type: "moderations_openai";
|
|
52
|
+
};
|
|
53
|
+
export type Sixteen = {
|
|
54
|
+
type: "is_valid_json";
|
|
55
|
+
};
|
|
56
|
+
export type Fifteen = {
|
|
57
|
+
type: "regex";
|
|
58
|
+
pattern: string;
|
|
59
|
+
};
|
|
60
|
+
export type Fourteen = {
|
|
61
|
+
type: "one_line";
|
|
62
|
+
};
|
|
63
|
+
export type Thirteen = {
|
|
64
|
+
type: "length_greater_than";
|
|
65
|
+
value: number;
|
|
66
|
+
};
|
|
67
|
+
export type Twelve = {
|
|
68
|
+
type: "length_between";
|
|
69
|
+
min: number;
|
|
70
|
+
max: number;
|
|
71
|
+
};
|
|
72
|
+
export type Eleven = {
|
|
73
|
+
type: "length_less_than";
|
|
74
|
+
value: number;
|
|
75
|
+
};
|
|
76
|
+
export type Ten = {
|
|
77
|
+
type: "exact_match";
|
|
78
|
+
};
|
|
79
|
+
export type Nine = {
|
|
80
|
+
type: "ends_with";
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
83
|
+
export type Eight = {
|
|
84
|
+
type: "start_with";
|
|
85
|
+
value: string;
|
|
86
|
+
};
|
|
87
|
+
export type Seven = {
|
|
88
|
+
type: "contains_valid_link";
|
|
89
|
+
};
|
|
90
|
+
export type Six = {
|
|
91
|
+
type: "contains_url";
|
|
92
|
+
};
|
|
93
|
+
export type Five = {
|
|
94
|
+
type: "contains_email";
|
|
95
|
+
};
|
|
96
|
+
export type Four = {
|
|
97
|
+
type: "contains_any";
|
|
98
|
+
keywords: Array<string>;
|
|
99
|
+
};
|
|
100
|
+
export type Three = {
|
|
101
|
+
type: "contains_all";
|
|
102
|
+
keywords: Array<string>;
|
|
103
|
+
};
|
|
104
|
+
export type FunctionParams2 = {
|
|
105
|
+
type: "contains_none";
|
|
106
|
+
keywords: Array<string>;
|
|
107
|
+
};
|
|
108
|
+
export type FunctionParams1 = {
|
|
109
|
+
type: "contains";
|
|
110
|
+
value: string;
|
|
111
|
+
};
|
|
112
|
+
export type FunctionParams = FunctionParams1 | FunctionParams2 | Three | Four | Five | Six | Seven | Eight | Nine | Ten | Eleven | Twelve | Thirteen | Fourteen | Fifteen | Sixteen | Seventeen | Eighteen | Nineteen | Twenty | TwentyOne | TwentyTwo | TwentyThree | TwentyFour | TwentyFive | TwentySix | TwentySeven | TwentyEight | TwentyNine | Thirty | ThirtyOne | ThirtyTwo;
|
|
113
|
+
export type EvaluatorResponseFunction = {
|
|
114
|
+
id: string;
|
|
115
|
+
description: string;
|
|
116
|
+
created: string;
|
|
117
|
+
updated: string;
|
|
118
|
+
updatedById?: string | null | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Unique identifier of the project owning this evaluator.
|
|
121
|
+
*/
|
|
122
|
+
projectId?: string | undefined;
|
|
123
|
+
guardrailConfig?: any | undefined;
|
|
124
|
+
type: "function_eval";
|
|
125
|
+
functionParams: FunctionParams1 | FunctionParams2 | Three | Four | Five | Six | Seven | Eight | Nine | Ten | Eleven | Twelve | Thirteen | Fourteen | Fifteen | Sixteen | Seventeen | Eighteen | Nineteen | Twenty | TwentyOne | TwentyTwo | TwentyThree | TwentyFour | TwentyFive | TwentySix | TwentySeven | TwentyEight | TwentyNine | Thirty | ThirtyOne | ThirtyTwo;
|
|
126
|
+
key: string;
|
|
127
|
+
};
|
|
128
|
+
/** @internal */
|
|
129
|
+
export declare const ThirtyTwo$inboundSchema: z.ZodType<ThirtyTwo, z.ZodTypeDef, unknown>;
|
|
130
|
+
export declare function thirtyTwoFromJSON(jsonString: string): SafeParseResult<ThirtyTwo, SDKValidationError>;
|
|
131
|
+
/** @internal */
|
|
132
|
+
export declare const ThirtyOne$inboundSchema: z.ZodType<ThirtyOne, z.ZodTypeDef, unknown>;
|
|
133
|
+
export declare function thirtyOneFromJSON(jsonString: string): SafeParseResult<ThirtyOne, SDKValidationError>;
|
|
134
|
+
/** @internal */
|
|
135
|
+
export declare const Thirty$inboundSchema: z.ZodType<Thirty, z.ZodTypeDef, unknown>;
|
|
136
|
+
export declare function thirtyFromJSON(jsonString: string): SafeParseResult<Thirty, SDKValidationError>;
|
|
137
|
+
/** @internal */
|
|
138
|
+
export declare const TwentyNine$inboundSchema: z.ZodType<TwentyNine, z.ZodTypeDef, unknown>;
|
|
139
|
+
export declare function twentyNineFromJSON(jsonString: string): SafeParseResult<TwentyNine, SDKValidationError>;
|
|
140
|
+
/** @internal */
|
|
141
|
+
export declare const TwentyEight$inboundSchema: z.ZodType<TwentyEight, z.ZodTypeDef, unknown>;
|
|
142
|
+
export declare function twentyEightFromJSON(jsonString: string): SafeParseResult<TwentyEight, SDKValidationError>;
|
|
143
|
+
/** @internal */
|
|
144
|
+
export declare const TwentySeven$inboundSchema: z.ZodType<TwentySeven, z.ZodTypeDef, unknown>;
|
|
145
|
+
export declare function twentySevenFromJSON(jsonString: string): SafeParseResult<TwentySeven, SDKValidationError>;
|
|
146
|
+
/** @internal */
|
|
147
|
+
export declare const TwentySix$inboundSchema: z.ZodType<TwentySix, z.ZodTypeDef, unknown>;
|
|
148
|
+
export declare function twentySixFromJSON(jsonString: string): SafeParseResult<TwentySix, SDKValidationError>;
|
|
149
|
+
/** @internal */
|
|
150
|
+
export declare const TwentyFive$inboundSchema: z.ZodType<TwentyFive, z.ZodTypeDef, unknown>;
|
|
151
|
+
export declare function twentyFiveFromJSON(jsonString: string): SafeParseResult<TwentyFive, SDKValidationError>;
|
|
152
|
+
/** @internal */
|
|
153
|
+
export declare const TwentyFour$inboundSchema: z.ZodType<TwentyFour, z.ZodTypeDef, unknown>;
|
|
154
|
+
export declare function twentyFourFromJSON(jsonString: string): SafeParseResult<TwentyFour, SDKValidationError>;
|
|
155
|
+
/** @internal */
|
|
156
|
+
export declare const TwentyThree$inboundSchema: z.ZodType<TwentyThree, z.ZodTypeDef, unknown>;
|
|
157
|
+
export declare function twentyThreeFromJSON(jsonString: string): SafeParseResult<TwentyThree, SDKValidationError>;
|
|
158
|
+
/** @internal */
|
|
159
|
+
export declare const TwentyTwo$inboundSchema: z.ZodType<TwentyTwo, z.ZodTypeDef, unknown>;
|
|
160
|
+
export declare function twentyTwoFromJSON(jsonString: string): SafeParseResult<TwentyTwo, SDKValidationError>;
|
|
161
|
+
/** @internal */
|
|
162
|
+
export declare const TwentyOne$inboundSchema: z.ZodType<TwentyOne, z.ZodTypeDef, unknown>;
|
|
163
|
+
export declare function twentyOneFromJSON(jsonString: string): SafeParseResult<TwentyOne, SDKValidationError>;
|
|
164
|
+
/** @internal */
|
|
165
|
+
export declare const Twenty$inboundSchema: z.ZodType<Twenty, z.ZodTypeDef, unknown>;
|
|
166
|
+
export declare function twentyFromJSON(jsonString: string): SafeParseResult<Twenty, SDKValidationError>;
|
|
167
|
+
/** @internal */
|
|
168
|
+
export declare const Nineteen$inboundSchema: z.ZodType<Nineteen, z.ZodTypeDef, unknown>;
|
|
169
|
+
export declare function nineteenFromJSON(jsonString: string): SafeParseResult<Nineteen, SDKValidationError>;
|
|
170
|
+
/** @internal */
|
|
171
|
+
export declare const Eighteen$inboundSchema: z.ZodType<Eighteen, z.ZodTypeDef, unknown>;
|
|
172
|
+
export declare function eighteenFromJSON(jsonString: string): SafeParseResult<Eighteen, SDKValidationError>;
|
|
173
|
+
/** @internal */
|
|
174
|
+
export declare const Seventeen$inboundSchema: z.ZodType<Seventeen, z.ZodTypeDef, unknown>;
|
|
175
|
+
export declare function seventeenFromJSON(jsonString: string): SafeParseResult<Seventeen, SDKValidationError>;
|
|
176
|
+
/** @internal */
|
|
177
|
+
export declare const Sixteen$inboundSchema: z.ZodType<Sixteen, z.ZodTypeDef, unknown>;
|
|
178
|
+
export declare function sixteenFromJSON(jsonString: string): SafeParseResult<Sixteen, SDKValidationError>;
|
|
179
|
+
/** @internal */
|
|
180
|
+
export declare const Fifteen$inboundSchema: z.ZodType<Fifteen, z.ZodTypeDef, unknown>;
|
|
181
|
+
export declare function fifteenFromJSON(jsonString: string): SafeParseResult<Fifteen, SDKValidationError>;
|
|
182
|
+
/** @internal */
|
|
183
|
+
export declare const Fourteen$inboundSchema: z.ZodType<Fourteen, z.ZodTypeDef, unknown>;
|
|
184
|
+
export declare function fourteenFromJSON(jsonString: string): SafeParseResult<Fourteen, SDKValidationError>;
|
|
185
|
+
/** @internal */
|
|
186
|
+
export declare const Thirteen$inboundSchema: z.ZodType<Thirteen, z.ZodTypeDef, unknown>;
|
|
187
|
+
export declare function thirteenFromJSON(jsonString: string): SafeParseResult<Thirteen, SDKValidationError>;
|
|
188
|
+
/** @internal */
|
|
189
|
+
export declare const Twelve$inboundSchema: z.ZodType<Twelve, z.ZodTypeDef, unknown>;
|
|
190
|
+
export declare function twelveFromJSON(jsonString: string): SafeParseResult<Twelve, SDKValidationError>;
|
|
191
|
+
/** @internal */
|
|
192
|
+
export declare const Eleven$inboundSchema: z.ZodType<Eleven, z.ZodTypeDef, unknown>;
|
|
193
|
+
export declare function elevenFromJSON(jsonString: string): SafeParseResult<Eleven, SDKValidationError>;
|
|
194
|
+
/** @internal */
|
|
195
|
+
export declare const Ten$inboundSchema: z.ZodType<Ten, z.ZodTypeDef, unknown>;
|
|
196
|
+
export declare function tenFromJSON(jsonString: string): SafeParseResult<Ten, SDKValidationError>;
|
|
197
|
+
/** @internal */
|
|
198
|
+
export declare const Nine$inboundSchema: z.ZodType<Nine, z.ZodTypeDef, unknown>;
|
|
199
|
+
export declare function nineFromJSON(jsonString: string): SafeParseResult<Nine, SDKValidationError>;
|
|
200
|
+
/** @internal */
|
|
201
|
+
export declare const Eight$inboundSchema: z.ZodType<Eight, z.ZodTypeDef, unknown>;
|
|
202
|
+
export declare function eightFromJSON(jsonString: string): SafeParseResult<Eight, SDKValidationError>;
|
|
203
|
+
/** @internal */
|
|
204
|
+
export declare const Seven$inboundSchema: z.ZodType<Seven, z.ZodTypeDef, unknown>;
|
|
205
|
+
export declare function sevenFromJSON(jsonString: string): SafeParseResult<Seven, SDKValidationError>;
|
|
206
|
+
/** @internal */
|
|
207
|
+
export declare const Six$inboundSchema: z.ZodType<Six, z.ZodTypeDef, unknown>;
|
|
208
|
+
export declare function sixFromJSON(jsonString: string): SafeParseResult<Six, SDKValidationError>;
|
|
209
|
+
/** @internal */
|
|
210
|
+
export declare const Five$inboundSchema: z.ZodType<Five, z.ZodTypeDef, unknown>;
|
|
211
|
+
export declare function fiveFromJSON(jsonString: string): SafeParseResult<Five, SDKValidationError>;
|
|
212
|
+
/** @internal */
|
|
213
|
+
export declare const Four$inboundSchema: z.ZodType<Four, z.ZodTypeDef, unknown>;
|
|
214
|
+
export declare function fourFromJSON(jsonString: string): SafeParseResult<Four, SDKValidationError>;
|
|
215
|
+
/** @internal */
|
|
216
|
+
export declare const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
|
|
217
|
+
export declare function threeFromJSON(jsonString: string): SafeParseResult<Three, SDKValidationError>;
|
|
218
|
+
/** @internal */
|
|
219
|
+
export declare const FunctionParams2$inboundSchema: z.ZodType<FunctionParams2, z.ZodTypeDef, unknown>;
|
|
220
|
+
export declare function functionParams2FromJSON(jsonString: string): SafeParseResult<FunctionParams2, SDKValidationError>;
|
|
221
|
+
/** @internal */
|
|
222
|
+
export declare const FunctionParams1$inboundSchema: z.ZodType<FunctionParams1, z.ZodTypeDef, unknown>;
|
|
223
|
+
export declare function functionParams1FromJSON(jsonString: string): SafeParseResult<FunctionParams1, SDKValidationError>;
|
|
224
|
+
/** @internal */
|
|
225
|
+
export declare const FunctionParams$inboundSchema: z.ZodType<FunctionParams, z.ZodTypeDef, unknown>;
|
|
226
|
+
export declare function functionParamsFromJSON(jsonString: string): SafeParseResult<FunctionParams, SDKValidationError>;
|
|
227
|
+
/** @internal */
|
|
228
|
+
export declare const EvaluatorResponseFunction$inboundSchema: z.ZodType<EvaluatorResponseFunction, z.ZodTypeDef, unknown>;
|
|
229
|
+
export declare function evaluatorResponseFunctionFromJSON(jsonString: string): SafeParseResult<EvaluatorResponseFunction, SDKValidationError>;
|
|
230
|
+
//# sourceMappingURL=evaluatorresponsefunction.d.ts.map
|