scratch-pdf-bot

Prototyping a question and answer bot over PDFs (by gjreda)

Scratch-pdf-bot Alternatives

Similar projects and alternatives to scratch-pdf-bot

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better scratch-pdf-bot alternative or higher similarity.

scratch-pdf-bot reviews and mentions

Posts with mentions or reviews of scratch-pdf-bot. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-31.
  • Show HN: Lance is a Rust-based alternative to Parquet for ML data
    4 projects | news.ycombinator.com | 31 May 2023
    I initially built this same "chat with PDFs" prototype with LangChain and qdrant. I then rebuilt it from scratch for the sake of learning and comparison.

    Some context: I've been a jack-of-all-trades data scientist / machine learning engineer for the past 15 years (officially titled as an MLE the last four years).

    I share that only because I think it plays a role in how I'm typically accustomed to working.

    1. I found LangChain to be overkill for this use-case. While it might allow some to move more quickly when building, I found it to be cumbersome. My suspicion is this is largely because of my background - I understand how to build much of what's "under the hood" in LangChain. Because of this, I think it felt overly abstracted and I found the docs difficult to navigate and sometimes incomplete.

    2. I used Qdrant via their docker image and it was simple to setup and start using. I didn't try to push the limits with it, so I can't say anything about performance. Because Qdrant runs as an http service, I found that it didn't fit well into my workflow - I'm accustomed to being able to visually inspect my data inside the interpreter, debugging, trying out commands, interacting and experimenting with my results, etc. Again, my suspicion is this is my own bias in how I typically work. Qdrant otherwise seemed very nice.

    3. LanceDB felt powerful yet lightweight, and fit well into my workflow. It was far more intuitive for me. It was as if sqlite, the python data ecosystem, and a vector database had a child and named it LanceDB. Under the hood, it's built on Apache Arrow and integrates nicely with pandas, allowing me to seamlessly go from LanceDB table on disk, to pandas dataframe, and into some analysis or investigation of my LanceDB query results. This line [1] is a great example of why I liked it. This feels nicer to me than the world of API params and HTTP requests.

    1. https://github.com/gjreda/scratch-pdf-bot/blob/main/gpt_pdf_...

Stats

Basic scratch-pdf-bot repo stats
2
35
6.0
6 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com