Skip to content

feat: add support for multimodal indexing#286

Draft
kyteinsky wants to merge 28 commits into
masterfrom
feat/noid/ocr-support
Draft

feat: add support for multimodal indexing#286
kyteinsky wants to merge 28 commits into
masterfrom
feat/noid/ocr-support

Conversation

@kyteinsky

Copy link
Copy Markdown
Contributor

for images (OCR) and audio (Speech-to-text) files

some rough edges and optimisation left on the table for now, will be fixed eventually, it seems to be working for now.

kyteinsky added 17 commits March 5, 2026 16:22
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
for images (OCR) and audio (Speech-to-text) files

Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
@kyteinsky kyteinsky force-pushed the feat/noid/rev-content-flow branch 2 times, most recently from 3459ba5 to 85d29f1 Compare March 26, 2026 20:26
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
@kyteinsky kyteinsky force-pushed the feat/noid/rev-content-flow branch 2 times, most recently from 1dc89e7 to 073f9d0 Compare April 7, 2026 11:33
@marcelklehr marcelklehr force-pushed the feat/noid/rev-content-flow branch from 44867af to 7337d17 Compare April 15, 2026 10:53
Base automatically changed from feat/noid/rev-content-flow to master April 30, 2026 11:28
kyteinsky added 2 commits May 1, 2026 13:14
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
@kyteinsky kyteinsky force-pushed the feat/noid/ocr-support branch 3 times, most recently from f59454c to fc00630 Compare May 2, 2026 15:00
@kyteinsky kyteinsky force-pushed the feat/noid/ocr-support branch 2 times, most recently from 591ab8e to 87d1057 Compare May 2, 2026 17:07
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
@kyteinsky kyteinsky force-pushed the feat/noid/ocr-support branch from 87d1057 to 64f311d Compare May 3, 2026 08:28
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
@kyteinsky kyteinsky force-pushed the feat/noid/ocr-support branch from 59bf2bb to 3b77c9f Compare May 3, 2026 11:41
kyteinsky added 6 commits May 3, 2026 18:21
Signed-off-by: kyteinsky <kyteinsky@gmail.com>
Signed-off-by: kyteinsky <kyteinsky@gmail.com>
- do not OCR images in PDF
- fetch task type availability in the fork process
- log as warning if subprocess emits stderr
- mark items are retryable if task type is absent
- other minor fixes

Signed-off-by: kyteinsky <kyteinsky@gmail.com>
Signed-off-by: kyteinsky <kyteinsky@gmail.com>
Signed-off-by: kyteinsky <kyteinsky@gmail.com>
Signed-off-by: kyteinsky <kyteinsky@gmail.com>
@kyteinsky

Copy link
Copy Markdown
Contributor Author

maybe we can pick it up later again

@kyteinsky kyteinsky closed this May 5, 2026
@kyteinsky

Copy link
Copy Markdown
Contributor Author

OCR task type supports pdfs natively so they can be directly sent in task processing task with the NC file id without parsing it locally, just like the image files.
The pdf parser can still be a fallback if the OCR task type is absent or fails.
The calls to context_chat PHP app can be dropped too, from here and in context_chat's PR.

@kyteinsky kyteinsky reopened this Jun 29, 2026
@kyteinsky

Copy link
Copy Markdown
Contributor Author

investigate if sending the pdf as images is better even when the pdf is partilly or fully text
easy on the cpu/gpu, context lengths, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants