Better HN
topnewbestaskshowjobs
Log inSign up

kapitalx

1,079 karma · joined Sep 9, 2009 (17y ago) · 327 submissions

Cofounder - Doctly.ai

Co-author of Principles of Chaos Engineering - https://principlesofchaos.org/

Submissions

comment 3w ago · link · parent

Yeah I tried going to GUIs aswell but ended up writing my own Terminal manager called switchboard. Since then I've tried a few others, like T3, which is pretty decent, but still keep coming back to Switchboard. It supports both Claude and Codex CLIs together with project grouping organization.

https://github.com/doctly/switchboard

2.

Show HN: I Built Grid View for Switchboard – Claude Code CLI Manager(github.com ↗)

2 points · by kapitalx · 8mo ago · discuss

comment 8mo ago · link · parent

Fixed some bugs and much more stable now.

https://github.com/doctly/switchboard/releases/tag/v0.0.8

comment 8mo ago · link · parent

Thank you. Yeah I looked at a few, another one is air.dev. The problem is they are recreating the actualy coding pane. Switchboard runs terminal directly.

5.

Show HN: A desktop app for managing Claude Code sessions(github.com ↗)

5 points · by kapitalx · 8mo ago · 3 comments

comment 1y ago · link · parent

https://doctly.ai

We're building Doctly.ai - PDF Extraction with AI.

We started out with document conversions to Markdown but quickly realized that most use cases were for JSON conversion. We recently launched our "Extractor Studio" where you can have AI analyze a few sample variations of your documents and come up with a schema for you and publish it to an API endpoint.

We've built a technique on top of AI models that dramatically improves run to run consistency of JSON output.

Checkout the blog post here: https://medium.com/@abasiri/introducing-doctlys-extractor-st...

comment 1y ago · link · parent

Check it out at https://doctly.ai

8.

Show HN: Extractor Studio – The Fastest Way to Build PDF Extractors(medium.com ↗)

10 points · by kapitalx · 1y ago · 2 comments

comment 1y ago · link · parent

This is approximately the approach we're taking also at https://doctly.ai, add to that a "multiple experts" approach for analyzing the image (for our 'ultra' version), and we get really good results. And we're making it better constantly.

comment 1y ago · link · parent

To be fair, they didn't include themselves at all in the graph.

comment 1y ago · link · parent

In addition, gemini Pro 2.5 does really well with bounding boxes, but yeah not open source :(

comment 1y ago · link · parent

If you're limited to open source models, that's very true. But for larger models and depending on your document needs, we're definitely seeing very high accuracy (95%-99%) for direct to json extraction (no markdown in between step) with our solution at https://doctly.ai.

13.

Show HN: We OCR'ed 60k pages of the JFK files with AI(doctly.ai ↗)

11 points · by kapitalx · 1y ago · 3 comments

comment 1y ago · link · parent

I'll dig deeper into your code, but scanning your post does look like your are addressing this. That's great.

If I do find anything, I'll share with you for comments before I publish the post.

comment 1y ago · link · parent

Exactly. You still have to be explicit in order to remove bias. Either by sorting the keys, or looking up specific keys. For arrays, I would say order still matters. For example when you capture a list of invoice items, you should maintain order.

comment 1y ago · link · parent

Great list! I’ll definitely run your benchmark against Doctly.ai (our PDF-to-Markdown service) specially as we publish our workflow service, to see how we stack up.

One thing I’ve noticed in many benchmarks, though, is the potential for bias. I’m actually working on a post about this issue, so it’s top of mind for me. For example, in the omni benchmark, the ground truth expected a specific order for heading information—like logo, phone number, and customer details. While this data was all located near the top of the document, the exact ordering felt subjective. Should the model prioritize horizontal or vertical scanning? Since the ground truth was created by the company running the benchmark, their model naturally scored the highest for maintaining the same order as the ground-truth.

However, this approach penalized other LLMs for not adhering to the "correct" order, even though the order itself was arguably arbitrary. This kind of bias can skew results and make it harder to evaluate models fairly. I’d love to see benchmarks that account for subjectivity or allow for multiple valid interpretations of document structure.

Did you run into this when looking at the benchmarks?

On a side note, Doctly.ai leverages multiple LLMs to evaluate documents, and runs a tournament with a judge for each page to get the best data (this is only on the Precision Ultra selection).

comment 1y ago · link · parent

Customers are willing to pay for accuracy compared to existing solutions out there. We started out in need of an accurate solution for a RAG product we were building, but none of the solutions we tried were providing the accuracy we needed.

comment 1y ago · link · parent

Looks to be API only for now. Documentation here: https://docs.mistral.ai/capabilities/document/

comment 1y ago · link · parent

We've been getting great results with those aswell. But ofcourse there is always some chance of not getting it perfect, specially with different handwritings.

Give it a try, no credit cards needed to try it. If you email me (ali@doctly.ai) i can give you extra free credits for testing.

comment 1y ago · link · parent

Yes I used the API. They have examples here:

https://docs.mistral.ai/capabilities/document/

I used base64 encoding of the image of the pdf page. The output was an object that has the markdown, and coordinates for the images:

[OCRPageObject(index=0, markdown='![img-0.jpeg](img-0.jpeg)', images=[OCRImageObject(id='img-0.jpeg', top_left_x=140, top_left_y=65, bottom_right_x=2136, bottom_right_y=1635, image_base64=None)], dimensions=OCRPageDimensions(dpi=200, height=1778, width=2300))] model='mistral-ocr-2503-completion' usage_info=OCRUsageInfo(pages_processed=1, doc_size_bytes=634209)

comment 1y ago · link · parent

Great question. The language models are definitely beating the old tools. Take a look at Gemini for example.

Doctly runs a tournament style judge. It will run multiple generations across LLMs and pick the best one. Outperforming single generation and single model.

comment 1y ago · link · parent

Haha for sure. Naming isn't just the hardest problem in computer science, it's always hard. But at some point you just have to pick something and move forward.

comment 1y ago · link · parent

We'll definitely be doing more tests, but the results I got on the complex tests would result in a lower score and might not be worth the extra cost of the judgement itself.

In our current setup Gemini wins most often. We enter multiple generations from each model into the 'tournament', sometimes one generation from gemini could be at the top while another in the bottom, for the same tournament.

comment 1y ago · link · parent

We need to update the examples on the front page. Currently for things that are considered charts/graphs/figures we convert to a description. For things like logos or images we do an image tag. You can also choose to exclude them.

The difference with this is that it took the entire page as an image tag (it's just a table of text in my document). rather than being more selective.

I do like that they give you coordinates for the images though, we need to do something like that.

Give the actual tool a try. Would love to get your feedback for that use case. It gives you 100 free credits initially but if you email me (ali@doctly.ai), I can give you an extra 500 (goes for anyone else here also)

comment 1y ago · link · parent

This is a good idea. We should publish a benchmark results/comparison.

comment 1y ago · link · parent

From my testing so far, it seems it's super fast and responded synchronously. But it decided that the entire page is an image and returned `![img-0.jpeg](img-0.jpeg)` with coordinates in the metadata for the image, which is the entire page.

Our tool, doctly.ai is much slower and async, but much more accurate and gets you the content itself as an markdown.

comment 1y ago · link · parent

Co-founder of doctly.ai here (OCR tool)

I love mistral and what they do. I got really excited about this, but a little disappointed after my first few tests.

I tried a complex table that we use as a first test of any new model, and Mistral OCR decided the entire table should just be extracted as an 'image' and returned this markdown:

``` ![img-0.jpeg](img-0.jpeg) ```

I'll keep testing, but so far, very disappointing :(

This document I try is the entire reason we created Doctly to begin with. We needed an OCR tool for regulatory documents we use and nothing could really give us the right data.

Doctly uses a judge, OCRs a document against multiple LLMs and decides which one to pick. It will continue to run the page until the judge scores above a certain score.

I would have loved to add this into the judge list, but might have to skip it.

12345
11