This API returns the complete list of chunks that satisfy the given condition in the request body.
"count": 888,
"chunks": [
{
"_id": "chk-fffb8f28-29c2-4afe-8d2c-9379dad4446c",
"chunkTitle": "",
"chunkText": "191 agreement of trial balance. Only the total of the trial balance would be short by Rs. 100. But if posting is not done in one of the accounts, this will affect the agreement of trial balance. b) Errors of Commission Errors of commission take place when some transactions are incorrectly recorded in the books of accounts. Such errors include errors on account of wrong balancing of an account, wrong posting, wrong totalling, wrong carry forwards, etc. For example, if a sum of Rs. 255 received from Hari is credited to his account as Rs. 525, this is an error of commission.",
"sourceType": "file",
"sourceName": "Default Directory",
"extractionMethod": "text",
"chunkType": "Text",
"chunkContent": "chunkText : 191 agreement of trial balance. Only the total of the trial balance would be short by Rs. 100. But if posting is not done in one of the accounts, this will affect the agreement of trial balance. b) Errors of Commission Errors of commission take place when some transactions are incorrectly recorded in the books of accounts. Such errors include errors on account of wrong balancing of an account, wrong posting, wrong totalling, wrong carry forwards, etc. For example, if chunkTitle : sourceName : Default Directory",
"chunkId": "chk-fffb8f28-29c2-4afe-8d2c-9379dad4446c",
"sourceUrl": "https://qa1-uxo.kore.ai:443/api/getMediaStream/findly/f-e7e04183-c53a-5013-9f93-f77f438aa7f9.pdf?n=4272962592&s=IkFHSDh1L3MxejB0OHU0MFg0MEVPV3AwSXRQZy9rbUhOOHh3RGdKaVpCSVk9Ig$$",
"pageNumber": 191,
"recordTitle": "accounts.pdf",
"recordUrl": "https://qa1-uxo.kore.ai:443/api/getMediaStream/findly/f-e7e04183-c53a-5013-9f93-f77f438aa7f9.pdf?n=4272962592&s=IkFHSDh1L3MxejB0OHU0MFg0MEVPV3AwSXRQZy9rbUhOOHh3RGdKaVpCSVk9Ig$$#page=191",
"docId": "fc-4de878cb-01a6-5557-a7a7-78992b743b77",
"searchIndexId": "sidx-f9413800-94f8-51e0-b3d6-7d1b8187d6f6",
"sourceId": "fs-4181a831-ef7b-5bb6-8adb-937be72ce275",
"createdOn": "2024-11-19T13:45:45.914Z",
"extractionStrategy": "Default Strategy",
"fileType": "pdf",
"chunkMeta": {}
}
],
"hasMore": true,
"inOffsetPagination": true,
"nextCursor": "eyJzZWFyY2hBZnRlciI6ImNoay1jMTFjZGMwZi05MmUwLTQzYTgtODc5OS1kZjAwZjA0MzExNDUiLCJza2lwIjoxMCwibGltaXQiOjEwLCJwcmV2Q3Vyc29yIjoiIn0=",
"prevCursor": null
}
This API is used to update a given chunk. The parameters provided in the request body are updated. If a parameter is missing, the value of that parameter in the chunk, remains same.
It is mandatory to pass the whole of this chunk info in the request body. The field names should match as in the example below.
"chunkText": "text",
"chunkTitle": "title1",
"pageNumber": "1",
"recordTitle": "recordTitle",
"recordUrl": "recordUrl",
"sourceUrl": "sourceUrl",
"chunkMeta": {}
}