Hacker News new | past | comments | ask | show | jobs | submit login
DocArray: a data structure for unstructured data (jina.ai)
83 points by jonbaer on Oct 5, 2022 | hide | past | favorite | 13 comments



That linked document must be written for a very specific target audience because it seems to use a lot of words without providing context of the problem it's solving. The example in their GH repo is a little more "this does what?": https://github.com/jina-ai/docarray#example-1-represent-mult... although even that is a little "don't worry where there seemingly random methods on Document came from" which https://docarray.jina.ai/api/docarray.document/#docarray.doc... seems to fill in a little more

Then again, I guess folks were similarly confused in the past:

https://news.ycombinator.com/from?site=jina.ai

https://news.ycombinator.com/from?site=github.com/jina-ai


I felt the same. The most important thing for a new library or language to do in its introduction is to show meaningful examples that solve a problem in the target domain in the canonical way.


If you or others need that much explanation it's probably not for you. Perhaps read [Multimodal Search](https://en.wikipedia.org/wiki/Multimodal_search) and see whether it clarifies you.


Thanks for pointing that out, I came across it via @ https://qdrant.tech/documentation/install/#docarray so I was not sure what other libs were integrating it


Thanks, the GitHub readme is much clearer.


I’m excited to look at this but the comparisons are misleading! E.g., NPY has existed since 2007 (I believe it was the first NumPy RFC) and is exceedingly popular; JSON can, of course, represent multi-dimensional arrays (you can’t get much simpler or readable than [[1, 2], [3, 4]]); I also don’t understand “Pythonic experience” for JSON since dictionaries are so ubiquitous; I could go on …


The description of this is kind of confusing but I think the easiest way to understand it is that it is a data processing pipeline of sorts. Take unstructured data and apply transformation and computation. A similar project to this is Towhee (https://github.com/towhee-io/towhee). This project tries to simplify unstructured data processing and provides pretrained models and pipelines from their hub.


> What is DocArray?

Still don't know what it is.


It's a data structure for unstructured data.


And it gots electrolites.


But it's also like a library and like protobufs, but it's named after arrays. I don't see how the format works, etc.

In other words, it's everything, which usually means it's really bad at everything, and in reality it's nothing.

So again, what is it? The first screenshot is some python code, and then it's talking about hugging face.

It'd call it 0clarityArray


I have the same impression.

"If you are a deep learning engineer who works on scalable deep learning services, you should use DocArray: it can be the basic building block of your system."

I mean, wow. The basic building block of your system. The very nucleus of any scalable deep learning service! But, what is it?


There is no such thing as unstructured data. If it were unstructured it would be noise. What people call unstructured data is, when they had little to no foresight when designing the original data structures. Any new data fields are just pilled on later and called unstructured




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: