@breign/db-schemas 0.1.55 → 0.1.56

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.
@@ -9,6 +9,8 @@ export type ConversationAttachment = {
9
9
  size: number;
10
10
  key: string;
11
11
  status: 'TO_UPLOAD' | 'PROCESSING' | 'PROCESSED' | 'ERROR';
12
+ /** Run the OCR pre-pass before parsing this attachment to Markdown */
13
+ ocr?: boolean;
12
14
  url?: string;
13
15
  inlineDataUrl?: string;
14
16
  processed?: Record<string, unknown>;
@@ -26,6 +26,8 @@ export type Knowledge = {
26
26
  name: string;
27
27
  knowledgeType: 'file' | 'website' | 'image';
28
28
  isFAQ?: boolean;
29
+ /** Run the OCR pre-pass before parsing this document to Markdown */
30
+ ocr?: boolean;
29
31
  uploadId?: string;
30
32
  postURL?: string;
31
33
  formData?: object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/db-schemas",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -11,6 +11,8 @@ export type ConversationAttachment = {
11
11
  size: number;
12
12
  key: string;
13
13
  status: 'TO_UPLOAD' | 'PROCESSING' | 'PROCESSED' | 'ERROR';
14
+ /** Run the OCR pre-pass before parsing this attachment to Markdown */
15
+ ocr?: boolean;
14
16
  url?: string;
15
17
  inlineDataUrl?: string;
16
18
  processed?: Record<string, unknown>;
@@ -25,6 +25,8 @@ export type Knowledge = {
25
25
  name: string;
26
26
  knowledgeType: 'file' | 'website' | 'image';
27
27
  isFAQ?: boolean;
28
+ /** Run the OCR pre-pass before parsing this document to Markdown */
29
+ ocr?: boolean;
28
30
  uploadId?: string;
29
31
  postURL?: string;
30
32
  formData?: object;