Support OCR of image files in File Parser block (#4609)
This commit is contained in:
@@ -188,7 +188,7 @@ const nodeLibraryItems: Array<{
|
||||
/>
|
||||
),
|
||||
title: "File Parser Block",
|
||||
description: "Parse PDFs, CSVs, and Excel files",
|
||||
description: "Parse PDFs, CSVs, Excel files, and Images",
|
||||
},
|
||||
// {
|
||||
// nodeType: "pdfParser",
|
||||
|
||||
@@ -415,7 +415,7 @@ export type SendEmailBlock = WorkflowBlockBase & {
|
||||
export type FileURLParserBlock = WorkflowBlockBase & {
|
||||
block_type: "file_url_parser";
|
||||
file_url: string;
|
||||
file_type: "csv" | "excel" | "pdf";
|
||||
file_type: "csv" | "excel" | "pdf" | "image";
|
||||
json_schema: Record<string, unknown> | null;
|
||||
};
|
||||
|
||||
|
||||
@@ -350,7 +350,7 @@ export type SendEmailBlockYAML = BlockYAMLBase & {
|
||||
export type FileUrlParserBlockYAML = BlockYAMLBase & {
|
||||
block_type: "file_url_parser";
|
||||
file_url: string;
|
||||
file_type: "csv" | "excel" | "pdf";
|
||||
file_type: "csv" | "excel" | "pdf" | "image";
|
||||
json_schema?: Record<string, unknown> | null;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user