@intuned/runner-types
Advanced tools
Comparing version 0.11.0-beta to 0.11.0
@@ -270,3 +270,5 @@ declare module '@intuned/runner' { | ||
export interface SearchPdfConfigs { | ||
contextWindow: number; | ||
contextWindow?: number; | ||
matchCase?: boolean; | ||
wholeWord?: boolean; | ||
} | ||
@@ -525,2 +527,19 @@ export type SearchPdfResult = { | ||
function extractFromPdfImproved(entityName: string, sourceInput: Source, fileExtractionPropertiesInput: FileExtractionProperties): Promise<any>; | ||
export class FileHelpers { | ||
static searchPdf(...params: Parameters<typeof searchPdf>): Promise<{ | ||
context: string; | ||
page: number; | ||
found: true; | ||
} | { | ||
found: false; | ||
}>; | ||
static extractFromPdf(...extractFromPdfParams: Parameters<typeof extractFromPdf>): Promise<any>; | ||
static pdfPageToText(...pdfPageToTextParams: Parameters<typeof pdfPageToText>): Promise<{ | ||
results: { | ||
text: string; | ||
pageNumber: number; | ||
}[]; | ||
totalPages: number; | ||
}>; | ||
} | ||
@@ -527,0 +546,0 @@ export { |
{ | ||
"name": "@intuned/runner-types", | ||
"version": "0.11.0-beta", | ||
"version": "0.11.0", | ||
"description": "intuned runner types", | ||
@@ -5,0 +5,0 @@ "author": "Intuned Team", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17882
559