@fencyai/js 0.1.61 → 0.1.63

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.
@@ -15,6 +15,7 @@ export type { CreateOpenAiChatCompletionDto } from './models/CreateOpenAiChatCom
15
15
  export type { CreateOpenAiChatCompletionMessageDto } from './models/CreateOpenAiChatCompletionMessageDto';
16
16
  export type { CreateStreamRequest } from './models/CreateStreamRequest';
17
17
  export type { CreateWebsiteRequest } from './models/CreateWebsiteRequest';
18
+ export type { FileMatchingChunk } from './models/FileMatchingChunk';
18
19
  export type { FileSearchItem } from './models/FileSearchItem';
19
20
  export type { FileSearchResponse } from './models/FileSearchResponse';
20
21
  export type { FileTextContentReadyEventDto } from './models/FileTextContentReadyEventDto';
@@ -0,0 +1,5 @@
1
+ export type FileMatchingChunk = {
2
+ pageNumbers: Array<number>;
3
+ score: number;
4
+ text: string;
5
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,9 @@
1
+ import type { FileMatchingChunk } from './FileMatchingChunk';
1
2
  export type FileSearchItem = {
2
3
  fileId: string;
3
4
  fileName: string;
4
- pageNumbers: Array<number>;
5
- score: number;
5
+ fileType: string;
6
+ fileSize: number;
7
+ matchingChunks: Array<FileMatchingChunk>;
8
+ highestChunkScore: number;
6
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fencyai/js",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "description": "> TODO: description",
5
5
  "author": "staklau <steinaageklaussen@gmail.com>",
6
6
  "homepage": "",
@@ -42,5 +42,5 @@
42
42
  "ts-jest": "^29.1.1",
43
43
  "typescript": "^5.3.3"
44
44
  },
45
- "gitHead": "2846bdcfc0d8b16c5d1857fd4d1f63d3a584b737"
45
+ "gitHead": "fa1e08330dd81d0dafb1da3ad76417cf32b490a6"
46
46
  }