Commit Graph
5 Commits
Author SHA1 Message Date
Folzo 263a942585 fix(kreuzberg): fix 'read of closed file' error by reading file content before requests 2026-04-11 02:42:54 +02:00
Folzo b72dafd66b feat(kreuzberg): improve tool - remove preprocessing, better file search, show available files on error
- Removed image preprocessing (Kreuzberg handles it internally)
- Improved file search (partial name matching)
- Shows available files when file not found
- Uses mimetypes for proper content-type
2026-04-11 02:36:32 +02:00
Folzo e9d6de3513 fix(kreuzberg): rewrite tool code to fix parsing errors
- Remove complex docstrings that caused parsing issues
- Use simple string concatenation instead of f-strings with special chars
- Remove duplicate code
- Keep functionality intact: single file, multi-file, list, search
2026-04-11 00:47:21 +02:00
Folzo f85ee6c122 feat(kreuzberg): add multi-file processing and PaddleOCR backend
- Add extract_files() for processing multiple files one by one
- Support comma-separated and JSON array input
- Switch OCR backend from Tesseract to PaddleOCR (better accuracy)
- Update tool description
2026-04-11 00:42:32 +02:00
Folzo 2ada7cab05 fix(kreuzberg): add image preprocessing for better OCR quality
- Convert images to grayscale before OCR
- Increase contrast by 2x for better text detection
- This matches the preprocessing that effi-ocr (Tesseract) was using
2026-04-11 00:32:37 +02:00