@limai.io/cli 0.4.4 → 0.4.5
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/cli.js +23 -23
- package/dist/index.d.ts +14 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -57,7 +57,16 @@ type JobStatus = {
|
|
|
57
57
|
confidenceStageStatus?: StageStatus;
|
|
58
58
|
bboxStageStatus?: StageStatus;
|
|
59
59
|
};
|
|
60
|
-
type IncludeOption = "confidence" | "boundingBoxes" | "validations";
|
|
60
|
+
type IncludeOption = "confidence" | "boundingBoxes" | "grounding" | "validations";
|
|
61
|
+
type CellGroundingStatus = "EXACT" | "NORMALIZED" | "OTHER_PART" | "AMBIGUOUS" | "NOT_FOUND" | "NOT_APPLICABLE" | "STALE";
|
|
62
|
+
type CellGrounding = {
|
|
63
|
+
status: CellGroundingStatus;
|
|
64
|
+
part: number | null;
|
|
65
|
+
partName: string | null;
|
|
66
|
+
span: [number, number] | null;
|
|
67
|
+
valueSpan: [number, number] | null;
|
|
68
|
+
text: string | null;
|
|
69
|
+
};
|
|
61
70
|
type CellConfidence = {
|
|
62
71
|
overall: number | null;
|
|
63
72
|
llm: number | null;
|
|
@@ -109,6 +118,7 @@ type CellValue = {
|
|
|
109
118
|
};
|
|
110
119
|
confidence?: CellConfidence;
|
|
111
120
|
boundingBoxes?: CellBoundingBox[] | null;
|
|
121
|
+
grounding?: CellGrounding | null;
|
|
112
122
|
validations?: CellValidation[];
|
|
113
123
|
};
|
|
114
124
|
type Row = {
|
|
@@ -241,6 +251,7 @@ type FlatCellData = {
|
|
|
241
251
|
value: string | number | boolean | null;
|
|
242
252
|
confidence?: number | null;
|
|
243
253
|
boundingBoxes?: CellBoundingBox[] | null;
|
|
254
|
+
grounding?: CellGrounding | null;
|
|
244
255
|
validations?: FlatCellValidation[];
|
|
245
256
|
};
|
|
246
257
|
type FlatRow = {
|
|
@@ -323,7 +334,7 @@ type DeploymentConfig = {
|
|
|
323
334
|
bigTableExtraction?: string;
|
|
324
335
|
useDynamicMapping?: boolean;
|
|
325
336
|
nestedExtraction?: "PER_PARENT_ROW" | "ONE_SHOT";
|
|
326
|
-
bboxTier?: "OFF" | "FAST" | "BALANCED" | "PRO";
|
|
337
|
+
bboxTier?: "OFF" | "TEXT" | "FAST" | "BALANCED" | "PRO";
|
|
327
338
|
parsePdf?: boolean;
|
|
328
339
|
markdownConversionType?: "BASIC" | "PRO";
|
|
329
340
|
excelConversionMode?: "MARKDOWN_ONLY" | "PDF_ONLY" | "MARKDOWN_AND_PDF";
|
|
@@ -1703,4 +1714,4 @@ declare class UploadError extends LimaiError {
|
|
|
1703
1714
|
}
|
|
1704
1715
|
declare function mapHttpError(status: number, message: string, details?: unknown): LimaiError;
|
|
1705
1716
|
|
|
1706
|
-
export { type Agent, type AgentDeploymentRoute, type AgentDetail, type AgentFile, type AgentIntegrationConfig, type AgentRole, type AgentRowData, type AgentRun, type AgentRunConversation, type AgentRunDetail, type AgentRunInferenceLog, type AgentRunInferenceLogSummary, type AgentRunInferenceLogs, type AgentRunStatus, type AgentSkill, type AgentSkillLinkedFile, type AgentStatus, type AgentStep, type AgentStepType, type AgentSubmission, type AgentTriggerType, AuthError, type Bucket, type BucketFile, type BulkFileResult, type BulkFlatDocumentDataResponse, type BulkGetFilesDataResponse, type BulkProcessResponse, type BulkProcessResult, type BulkUploadFileStatus, type BulkUploadResult, type CellBoundingBox, type CellConfidence, type CellValidation, type CellValue, type ClassificationAsyncResponse, type ClassificationResult, type ClassificationStatus, type Column, type ColumnInput, type ColumnLabel, type ColumnUnit, type ColumnUpdateInput, ConflictError, type CreateRowInput, type CreateRowsRequest, type CreateRowsResponse, type DeleteRowsRequest, type DeleteRowsResponse, type Deployment, type DeploymentConfig, type DeploymentConfigUpdate, type DeploymentConfiguration, type DeploymentConfigurationColumn, type DeploymentConfigurationTable, type DeploymentStatus, type DeploymentType, type Document, type ExtractionRow, type ExtractionsResponse, type FileData, type FileStatus, type FileValidationCheck, type FileValidations, type FlatCellData, type FlatCellValidation, type FlatDocumentDataResponse, type FlatDocumentEntry, type FlatFileValidations, type FlatRow, ForbiddenError, type GetUrlResponse, HttpClient, type IncludeOption, type JobContext, type JobContextColumn, type JobContextTable, JobPoller, type JobStatus, type JobStatusValue, LimaiClient, type LimaiClientConfig, type LimaiConfig, LimaiError, NotFoundError, type OffsetPaginatedResponse, type OffsetPagination, type PagePaginatedResponse, type PagePagination, type PaginationOptions, type PollOptions, type ProcessFileAsyncResponse, type ProcessOptions, type Project, RateLimitError, type Row, SSEClient, ServerError, type SplitAsyncResponse, type SplitResult, type SplitSegment, type SplitStatus, type StageStatus, type Table, type TableData, TimeoutError, type UpdateStatusRequest, type UpdateStatusResponse, UploadError, type UploadResult, ValidationError, type ValidationResult, collectAll, getDeploymentId, getFileId, getJobId, loadConfig, loadJobContext, mapHttpError, paginateOffset, paginatePage, requireConfig, saveConfig, validateSubmission };
|
|
1717
|
+
export { type Agent, type AgentDeploymentRoute, type AgentDetail, type AgentFile, type AgentIntegrationConfig, type AgentRole, type AgentRowData, type AgentRun, type AgentRunConversation, type AgentRunDetail, type AgentRunInferenceLog, type AgentRunInferenceLogSummary, type AgentRunInferenceLogs, type AgentRunStatus, type AgentSkill, type AgentSkillLinkedFile, type AgentStatus, type AgentStep, type AgentStepType, type AgentSubmission, type AgentTriggerType, AuthError, type Bucket, type BucketFile, type BulkFileResult, type BulkFlatDocumentDataResponse, type BulkGetFilesDataResponse, type BulkProcessResponse, type BulkProcessResult, type BulkUploadFileStatus, type BulkUploadResult, type CellBoundingBox, type CellConfidence, type CellGrounding, type CellGroundingStatus, type CellValidation, type CellValue, type ClassificationAsyncResponse, type ClassificationResult, type ClassificationStatus, type Column, type ColumnInput, type ColumnLabel, type ColumnUnit, type ColumnUpdateInput, ConflictError, type CreateRowInput, type CreateRowsRequest, type CreateRowsResponse, type DeleteRowsRequest, type DeleteRowsResponse, type Deployment, type DeploymentConfig, type DeploymentConfigUpdate, type DeploymentConfiguration, type DeploymentConfigurationColumn, type DeploymentConfigurationTable, type DeploymentStatus, type DeploymentType, type Document, type ExtractionRow, type ExtractionsResponse, type FileData, type FileStatus, type FileValidationCheck, type FileValidations, type FlatCellData, type FlatCellValidation, type FlatDocumentDataResponse, type FlatDocumentEntry, type FlatFileValidations, type FlatRow, ForbiddenError, type GetUrlResponse, HttpClient, type IncludeOption, type JobContext, type JobContextColumn, type JobContextTable, JobPoller, type JobStatus, type JobStatusValue, LimaiClient, type LimaiClientConfig, type LimaiConfig, LimaiError, NotFoundError, type OffsetPaginatedResponse, type OffsetPagination, type PagePaginatedResponse, type PagePagination, type PaginationOptions, type PollOptions, type ProcessFileAsyncResponse, type ProcessOptions, type Project, RateLimitError, type Row, SSEClient, ServerError, type SplitAsyncResponse, type SplitResult, type SplitSegment, type SplitStatus, type StageStatus, type Table, type TableData, TimeoutError, type UpdateStatusRequest, type UpdateStatusResponse, UploadError, type UploadResult, ValidationError, type ValidationResult, collectAll, getDeploymentId, getFileId, getJobId, loadConfig, loadJobContext, mapHttpError, paginateOffset, paginatePage, requireConfig, saveConfig, validateSubmission };
|