@skravets/eapi 0.0.25 → 0.0.26
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/dist/api-types.d.cts +94 -2
- package/dist/api-types.d.ts +94 -2
- package/package.json +1 -1
package/dist/api-types.d.cts
CHANGED
|
@@ -133,7 +133,7 @@ interface components {
|
|
|
133
133
|
channel_id: number;
|
|
134
134
|
/**
|
|
135
135
|
* Format: date-time
|
|
136
|
-
* @example 2025-10-
|
|
136
|
+
* @example 2025-10-23T20:29:17.728Z
|
|
137
137
|
*/
|
|
138
138
|
message_created_at: string;
|
|
139
139
|
/** @example 123 */
|
|
@@ -257,8 +257,99 @@ interface components {
|
|
|
257
257
|
query?: string;
|
|
258
258
|
/** @description search embedding */
|
|
259
259
|
embedding?: number[];
|
|
260
|
+
/** @description search limit */
|
|
261
|
+
limit?: number;
|
|
262
|
+
/** @description search offset */
|
|
263
|
+
offset?: number;
|
|
264
|
+
};
|
|
265
|
+
SemanticSearchMeta: {
|
|
266
|
+
/**
|
|
267
|
+
* @description Search type
|
|
268
|
+
* @example semantic | hybrid
|
|
269
|
+
*/
|
|
270
|
+
type: string;
|
|
271
|
+
/**
|
|
272
|
+
* @description Similarity score
|
|
273
|
+
* @example 0.1
|
|
274
|
+
*/
|
|
275
|
+
similarity: number;
|
|
276
|
+
};
|
|
277
|
+
HybridSearchMeta: {
|
|
278
|
+
/**
|
|
279
|
+
* @description Search type
|
|
280
|
+
* @example hybrid
|
|
281
|
+
*/
|
|
282
|
+
type: string;
|
|
283
|
+
/** @description r1 */
|
|
284
|
+
r1: string;
|
|
285
|
+
/** @description r2 */
|
|
286
|
+
r2: string;
|
|
287
|
+
/** @description bm25_score */
|
|
288
|
+
bm25_score: number;
|
|
289
|
+
/** @description vec_score */
|
|
290
|
+
vec_score: number;
|
|
291
|
+
/** @description source */
|
|
292
|
+
source: string;
|
|
293
|
+
/** @description rrf */
|
|
294
|
+
rrf: string;
|
|
295
|
+
};
|
|
296
|
+
SearchResult: {
|
|
297
|
+
/** @description Meta */
|
|
298
|
+
meta: components["schemas"]["SemanticSearchMeta"] | components["schemas"]["HybridSearchMeta"];
|
|
299
|
+
/**
|
|
300
|
+
* @description Channel id
|
|
301
|
+
* @example 123
|
|
302
|
+
*/
|
|
303
|
+
channel_id: string;
|
|
304
|
+
/**
|
|
305
|
+
* @description Channel name
|
|
306
|
+
* @example channel_name
|
|
307
|
+
*/
|
|
308
|
+
channel_name: string;
|
|
309
|
+
/**
|
|
310
|
+
* @description Topic
|
|
311
|
+
* @example topic
|
|
312
|
+
*/
|
|
313
|
+
topic: string;
|
|
314
|
+
/**
|
|
315
|
+
* @description Tone
|
|
316
|
+
* @example tone
|
|
317
|
+
*/
|
|
318
|
+
tone: string;
|
|
319
|
+
/**
|
|
320
|
+
* @description Language
|
|
321
|
+
* @example language
|
|
322
|
+
*/
|
|
323
|
+
language: string;
|
|
324
|
+
/**
|
|
325
|
+
* @description Audience
|
|
326
|
+
* @example audience
|
|
327
|
+
*/
|
|
328
|
+
audience: string;
|
|
329
|
+
/**
|
|
330
|
+
* @description Tags
|
|
331
|
+
* @example [
|
|
332
|
+
* "tag1",
|
|
333
|
+
* "tag2"
|
|
334
|
+
* ]
|
|
335
|
+
*/
|
|
336
|
+
tags: string[];
|
|
337
|
+
/**
|
|
338
|
+
* @description Density per day
|
|
339
|
+
* @example 0.1
|
|
340
|
+
*/
|
|
341
|
+
density_per_day: number;
|
|
342
|
+
/**
|
|
343
|
+
* @description Last message at
|
|
344
|
+
* @example 2023-01-01T00:00:00.000Z
|
|
345
|
+
*/
|
|
346
|
+
last_message_at: number;
|
|
347
|
+
/**
|
|
348
|
+
* @description Summary
|
|
349
|
+
* @example summary
|
|
350
|
+
*/
|
|
351
|
+
summary: string;
|
|
260
352
|
};
|
|
261
|
-
SearchResult: Record<string, never>;
|
|
262
353
|
/** @description Which fields of chat to return */
|
|
263
354
|
ChatData: {
|
|
264
355
|
/** @default false */
|
|
@@ -680,6 +771,7 @@ interface operations {
|
|
|
680
771
|
};
|
|
681
772
|
};
|
|
682
773
|
responses: {
|
|
774
|
+
/** @description Search */
|
|
683
775
|
200: {
|
|
684
776
|
headers: {
|
|
685
777
|
[name: string]: unknown;
|
package/dist/api-types.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ interface components {
|
|
|
133
133
|
channel_id: number;
|
|
134
134
|
/**
|
|
135
135
|
* Format: date-time
|
|
136
|
-
* @example 2025-10-
|
|
136
|
+
* @example 2025-10-23T20:29:17.728Z
|
|
137
137
|
*/
|
|
138
138
|
message_created_at: string;
|
|
139
139
|
/** @example 123 */
|
|
@@ -257,8 +257,99 @@ interface components {
|
|
|
257
257
|
query?: string;
|
|
258
258
|
/** @description search embedding */
|
|
259
259
|
embedding?: number[];
|
|
260
|
+
/** @description search limit */
|
|
261
|
+
limit?: number;
|
|
262
|
+
/** @description search offset */
|
|
263
|
+
offset?: number;
|
|
264
|
+
};
|
|
265
|
+
SemanticSearchMeta: {
|
|
266
|
+
/**
|
|
267
|
+
* @description Search type
|
|
268
|
+
* @example semantic | hybrid
|
|
269
|
+
*/
|
|
270
|
+
type: string;
|
|
271
|
+
/**
|
|
272
|
+
* @description Similarity score
|
|
273
|
+
* @example 0.1
|
|
274
|
+
*/
|
|
275
|
+
similarity: number;
|
|
276
|
+
};
|
|
277
|
+
HybridSearchMeta: {
|
|
278
|
+
/**
|
|
279
|
+
* @description Search type
|
|
280
|
+
* @example hybrid
|
|
281
|
+
*/
|
|
282
|
+
type: string;
|
|
283
|
+
/** @description r1 */
|
|
284
|
+
r1: string;
|
|
285
|
+
/** @description r2 */
|
|
286
|
+
r2: string;
|
|
287
|
+
/** @description bm25_score */
|
|
288
|
+
bm25_score: number;
|
|
289
|
+
/** @description vec_score */
|
|
290
|
+
vec_score: number;
|
|
291
|
+
/** @description source */
|
|
292
|
+
source: string;
|
|
293
|
+
/** @description rrf */
|
|
294
|
+
rrf: string;
|
|
295
|
+
};
|
|
296
|
+
SearchResult: {
|
|
297
|
+
/** @description Meta */
|
|
298
|
+
meta: components["schemas"]["SemanticSearchMeta"] | components["schemas"]["HybridSearchMeta"];
|
|
299
|
+
/**
|
|
300
|
+
* @description Channel id
|
|
301
|
+
* @example 123
|
|
302
|
+
*/
|
|
303
|
+
channel_id: string;
|
|
304
|
+
/**
|
|
305
|
+
* @description Channel name
|
|
306
|
+
* @example channel_name
|
|
307
|
+
*/
|
|
308
|
+
channel_name: string;
|
|
309
|
+
/**
|
|
310
|
+
* @description Topic
|
|
311
|
+
* @example topic
|
|
312
|
+
*/
|
|
313
|
+
topic: string;
|
|
314
|
+
/**
|
|
315
|
+
* @description Tone
|
|
316
|
+
* @example tone
|
|
317
|
+
*/
|
|
318
|
+
tone: string;
|
|
319
|
+
/**
|
|
320
|
+
* @description Language
|
|
321
|
+
* @example language
|
|
322
|
+
*/
|
|
323
|
+
language: string;
|
|
324
|
+
/**
|
|
325
|
+
* @description Audience
|
|
326
|
+
* @example audience
|
|
327
|
+
*/
|
|
328
|
+
audience: string;
|
|
329
|
+
/**
|
|
330
|
+
* @description Tags
|
|
331
|
+
* @example [
|
|
332
|
+
* "tag1",
|
|
333
|
+
* "tag2"
|
|
334
|
+
* ]
|
|
335
|
+
*/
|
|
336
|
+
tags: string[];
|
|
337
|
+
/**
|
|
338
|
+
* @description Density per day
|
|
339
|
+
* @example 0.1
|
|
340
|
+
*/
|
|
341
|
+
density_per_day: number;
|
|
342
|
+
/**
|
|
343
|
+
* @description Last message at
|
|
344
|
+
* @example 2023-01-01T00:00:00.000Z
|
|
345
|
+
*/
|
|
346
|
+
last_message_at: number;
|
|
347
|
+
/**
|
|
348
|
+
* @description Summary
|
|
349
|
+
* @example summary
|
|
350
|
+
*/
|
|
351
|
+
summary: string;
|
|
260
352
|
};
|
|
261
|
-
SearchResult: Record<string, never>;
|
|
262
353
|
/** @description Which fields of chat to return */
|
|
263
354
|
ChatData: {
|
|
264
355
|
/** @default false */
|
|
@@ -680,6 +771,7 @@ interface operations {
|
|
|
680
771
|
};
|
|
681
772
|
};
|
|
682
773
|
responses: {
|
|
774
|
+
/** @description Search */
|
|
683
775
|
200: {
|
|
684
776
|
headers: {
|
|
685
777
|
[name: string]: unknown;
|