What is our primary use case?
Our main use case for Unstructured is scraping. There are multiple data types, and our use case is to get the content, so we do not need to manually parse a webpage, a PDF, or a document. Unstructured provides everything by default. It is a wrapper around all of these, and it also has a default chunk splitter.
I wrap my app with it, and when I call it, it gives me the data with the metadata and the text data by default. I only need to process the next step. It saves a lot of time.
I can share a quick example of how we used Unstructured, particularly for PDFs and websites. Initially, we tried the open-source Unstructured and self-hosted it ourselves.
We then moved to the managed service because the processing was too heavy when we tried to deploy it ourselves. I think we needed to increase the RAM, and there were many quirks we needed to work around. To avoid that, it is better to go with the managed service from Unstructured, and that is working. We used it specifically for document types such as PDFs and websites. Whenever we want to destructure or get the data, we use Unstructured.
I will explain the workflow for how we use Unstructured, starting with the API key. We just need to create the API key from Unstructured. We mostly use JavaScript code, and we also initially created a Python microservice.
In the Python code with FastAPI, we integrated Unstructured, and it processes the documentation and gives us the chunked data with all the metadata. We then embed it and store it in a vector database.
How has it helped my organization?
As I said before, when we go with a manual approach to scraping anything, such as a PDF or a website, we have to do manual work. We need to create a custom scraper for each thing: one for PDFs, a separate one for documents, and a separate one for websites. Everything is already combined inside Unstructured. The manual approach is time-consuming, so I can use Unstructured straight away and save development time.
Debugging is also not easy with a customized solution, and it takes some time. When we use Unstructured, we do not need to worry about anything. I provide the input and get the output. I depend on Unstructured, and mostly it is good. It is not that bad.
To clarify my earlier comment about Unstructured's challenges, I mean that it is not that bad. When you go with a custom solution, you sometimes have issues. Instead, you can focus on your business logic. What I am saying is to offload the task to Unstructured. Unstructured provides you everything, including the split data, and you can use it.
I can share the positive outcomes we saw from Unstructured, such as the development time saved. When I integrated it, there was developer support. You can ask anything to the community, and the community will fix the issue for you. You do not need to debug by yourself.
When you build a customized solution, you need to debug and understand your own code, because you are building a custom wrapper. When you go with Unstructured, everything is already pre-built. They have already created the use case for you, and you just use it, plug and play. We saved a great deal of development time to get the product working.
For example, consider Google Sheets, Google Docs, PDFs, DOC and DOCX files, and CSV files. If you handle each one by one, the application becomes complex in the end when you build a customized scraper. We went with Unstructured, and it saved us around two weeks of development time. Debugging time is also easier, because you do not need to wait for anything. You just raise the issue, and they fix it.
What is most valuable?
The features that stand out most to me in Unstructured are its PDF OCR capabilities. It is mainly the PDF OCR. Whenever a PDF has multiple image-based text elements, a normal text splitter will not work, even with a custom workaround. You need some manual workaround to handle that. In that case, Unstructured helps us, which is a good thing. It already has PDF OCR and resolution options, and we can customize them to high or low to get the accuracy we need.
When it comes to ease of use, I recommend simply going with the managed service. For development, you can use the open-source version as a workaround, but after creating a proof of concept, it is better to go with the managed service. The open-source version has multiple repositories, and even when we started with Unstructured, there was not a quick learning curve. It takes more time to understand which repository is FastAPI and which repository does the processing. I think it is better to go with the managed library.
You get the API key, integrate it in your API backend, and they do all the work in the managed service. You basically just need to offload it. They take care of the chunking and everything else and provide the results to you. Sometimes it takes some time when you are using the self-hosted Unstructured library, and even with the managed service, it sometimes takes some time. You need to make the process asynchronous, because sometimes you get a late response if the document is huge.
For small documents, it works well. If the document is heavy, with many pages or a lot of content, it takes some time to process and give you the result.
What needs improvement?
A lot of changes and improvements need to be made to Unstructured. It works for mid-size or small-size data, but sometimes it does not work as well with large data. For example, with a Google Sheet that has too many columns and too much data, the accuracy or output is maybe 70%. You cannot expect 99% or 95%. They could improve that.
The processing time also needs to be improved. The OCR and resolution need to be improved as well. In the current era, everything should be fast, so instead of making users wait so long, they should reduce the processing time.
As for the improvements Unstructured needs, I would like to see more integrations, such as Jira and Confluence. Right now, we are creating a separate integration for each of these. If they added these integrations to Unstructured, we could just enable them from the API, and it would automatically scrape the content. That is just something I am thinking about.
For how long have I used the solution?
I have been using Unstructured for more than two years, since we started the bot product and bot project.
What do I think about the stability of the solution?
In my experience, Unstructured is stable. There is a lot of developer and community support. It is stable.
What do I think about the scalability of the solution?
Unstructured's scalability is good because, as I said, we are using the managed service. They handle the scalability for us, so we do not need to worry about anything.
When we deploy it in our organization, we need to worry about scalability, but with the managed service, they handle everything for you. I think that is better. You can process one document at a time or 100 documents at a time. That is up to your organization and your application.
How are customer service and support?
Customer support is good. You can connect with them by email, and I mostly raise issues in a GitHub repository, where I get information from the development team itself. I also raise issues by email, and I get a response from them.
Which solution did I use previously and why did I switch?
Before switching, we used a customized solution. Building one for each data type was time-consuming. We wanted to integrate many data types in our application. Initially, we tried only websites, then we tried PDFs and other data types, and we also tried to add more data type uploads.
Then we realized that there was no reason to go with a custom solution if Unstructured was already providing the data, so we switched to Unstructured.
What was our ROI?
As I said, time is saved when you go with Unstructured. Money is also saved. For example, if you go with a good scraper, you need to subscribe to another platform. Since we are using only Unstructured, it saves money, and developer time is saved as well. When developer time is saved, developer cost is also saved, because we can focus on other things.
What's my experience with pricing, setup cost, and licensing?
I am not involved in the pricing, but the pricing is good. I think it is based on consumption per use. It is not pay as you go, and it is not a fixed monthly subscription. I think there is no setup cost, and the licensing is the MIT license.
Which other solutions did I evaluate?
Before choosing Unstructured, we did not evaluate other options, because we did not have any other options when we tried Unstructured.
What other advice do I have?
I would rate Unstructured definitely eight out of 10 overall.
My reason for choosing eight out of 10 is that it is already high, but, as I said, there are many improvements that could be made. For large amounts of data, such as a Google Sheet with many columns, the accuracy should be improved. That is the reason for my rating.
As for Unstructured's governance and security, I think there is a good level of security. They already provide API keys for tenant isolation. I also think they should reject attempts such as hijacking or hacking a website, or passing incorrect input.
As for Unstructured's accuracy and reliability of output, the accuracy is good for small to mid-sized data. The chunks are correct, and you can reliably get the output. If the data size increases, however, the results sometimes are not as good.
As for our deployment of Unstructured, we are using the public cloud, I think, because we use the managed service.
As for the cloud provider for our public cloud deployment, public means that we are using their managed service. It is not deployed in our organization. We signed up in their dashboard, and we need to buy a subscription.