Hacker Newsnew | past | comments | ask | show | jobs | submit | nhirschfeld's commentslogin

Hi HN!

I'm the maintainer of Kreuzberg, an open-source document intelligence library (https://github.com/kreuzberg-dev/kreuzberg). Some of you may have used it for RAG ingestion.

We're launching Kreuzberg Cloud, a SAAS API and a self-hosted system. It's in public beta, and I would like to invite you all to give it a try.

What out MVP offers: we offer very fast CPU optimized document and code intelligence. You can extract content from more than 90 document file formats and 300 code file formats into Markdown (or plaintext/djot), with additional features (same pricing tier) including chunking, embeddings, keyword extraction - and various types of intelligence.

The OSS library is used as the base engine of the cloud system. Our initial offering is $0.008/page, and you get the first 10K pages free, no card required.

We also offer our entire system for self-hosting - using helm charts. We are looking for design partners, so if thats relevant - shoot me a line.


Thanks! I was waiting for this!

Amazing work!

You'll need to use a different OCR engine. Look at easy ocr


Yes, there have already been several suggestions here for other backend etc.

You should try using a different PSM to see if you get better results.

If it's scientific texts specifically, look at grobid


thats why Kreuzberg also exposes a sync API for you to consume.


I'm actually considering another library with optional API called `Kreuzköln` - probably without the Umlaut!


Retrieval Augmented Generation. Its a class of techniques for generating content using LLMs. I'd recommend Googling this.


Was going to reply indignantly that it's hard to google rag and get that answer when I read your comment. Then I did, and it was the first result.

Apologies!


I understood the comment as "Google <the long version I provided> to get more info"


Thanks for asking!

It's both. The OCR part is ofc CPU bound, but the entire text extraction involves reading files, or writing and then reading files.

Without async, these simply block.

As for efficiency - if you're working in an async application context you have to "asyncify" these operations or suffer the consequences.


in that case, what’s the deal with extract_bytes being async? i’m not incredibly familiar with python, but i’d expect a “byte string” to be in memory.


You still need to write it to file to process it via pandoc/tesseract etc.

There are alternative options to tesseract ofc.


> You still need to write it to file to process it via pandoc/tesseract etc.

This sounds... I guess Pythonic? Sheesh.


Yup, easy OCR is good.

My reasons for using Tesseract - easy OCR is larger, and it has a significant cold start.

It benchmarks better for many OCR tasks though, so I'm thinking of adding it as an alternative backend.


Where did you find benchmarks for OCR tools? There have been so many OCR engines coming lately, I would love to see benchmarks!


I google this for a while...


Any experience with Paddle OCR? https://github.com/PaddlePaddle/PaddleOCR

Personally I‘ve used Tesseract before but the results were underwhelming, so I‘m curious how Paddle OCR performs in comparison.


I haven't, testing it out is on my todo list for sure


interesting!


lol ;).

But seriously, in 13 years living here, only one guy tried to pick pocket me.


I live in 36 since 15 years or so. Wasn't as lucky as you :)


Sorry to hear...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: