Better HN
topnewbestaskshowjobs
Log inSign up

_vxw6

1 karma · joined Mar 8, 2023 (3y ago) · 36 submissions

Submissions

comment 3y ago · link · parent

Haha I copied it from that page, hilliarious!

I'll keep it haha

comment 3y ago · link · parent

It stores it in browser local storage using IndexDB, if you have access to years of documents, it might take up to 10+gb of persistant storage.

comment 3y ago · link · parent

gb's of storage, potentially 10+ for very large datasets.

Minutes, not days. Very big data sets might take 30+ minutes (or even a couple of hours), but usefulness starts in the first few minutes (because of the priority algorithm)

comment 3y ago · link · parent

Actually a few hundred documents is really no biggy, my current benchmarks is in the range of <250ms (instant feeling) for hundreds of thousands of paragraphs.

I'm testing this on a large knowledge base.

comment 3y ago · link · parent

Same bundle of weights but is being run by some rust code that is compiled down to WebAssembly.

comment 3y ago · link · parent

It will be very soon https://github.com/haystackoss/haystack

some rust code that compiles to WASM loads LLM from memory, and uses custom transformer.py like rust alternative we wrote.

comment 3y ago · link · parent

Forgive me if I don't understand, but I don't think there's a problem with multiple companies using the same common noun as the base for their domain.

Let the best product be remembered for the name.

comment 3y ago · link · parent

Not really, gethaystack searches your tabs

comment 3y ago · link · parent

Sorry didn’t assume otherwise, replied accidentally to the wrong thread

comment 3y ago · link · parent

Note taken lol wow

comment 3y ago · link · parent

Thanks

comment 3y ago · link · parent

I’m planning on releasing an open source version of this.

But also have paid features that managers would like to use.

comment 3y ago · link · parent

I’m using a fine-tuned t5-small model, I fune-tuned it for two tasks, question answering from a paragraph, and highlighting relevant text of search results.

comment 3y ago · link · parent

The tricky part is to understand which parts are you indexing, paragraph vs. sentences vs. pages.

But yeah

comment 3y ago · link · parent

I load the 90mb model into memory from IndexDB, and then some rust code compiled down to WASM does calculations with the model.

comment 3y ago · link · parent

Hi, didn’t intend to repost this, it’s just that HN is hard to figure out.

And most first posts don’t get the intended traction for various reasons (too long, bad wording, unclear).

reposting and changing the post is totally allowed :)

comment 3y ago · link · parent

open & free for self hosted version, current alpha version is client side (runs in the browser).

comment 3y ago · link · parent

You hit the nail on it’s head, some of these is something I’m dealing with right now (i.e dates)

comment 3y ago · link · parent

Makes me wonder, what kind of information sources do you use at work?

Slack, teams, confluence or notion? airtable? jira?

comment 3y ago · link · parent

Very good explaination!

hundred of millis is what I experienced.

comment 3y ago · link · parent

Actually, the page rank is really based on semantic similarity and relevance of the matched paragraph.

Which under the hood is based of a t5 encoder

comment 3y ago · link · parent

Not a designer, I appreciate this advice immensely, I’ll try!

comment 3y ago · link · parent

In the setup process you sign in via SSO to all integrations, the token is saved in local storage. That token is used for indexing, and so if you don’t have access to info, the index doesn’t have access.

comment 3y ago · link · parent

That’s extremely interesting, I would argue that the reason for keeping tabs open varies, but is something along the lines of: re-reaching the page in the tab is too slow

comment 3y ago · link · parent

Yes it needs to stay open. if that’s a problem, I thought of building an extension for continuous indexing.

comment 3y ago · link · parent

I’m adding some technical details!

Haystack runs entirely client sided in the browser, so it has a unique tech-stack:

Storage

using IndexDB, haystack stores user indexes locally, + a compressed 90mb NLP model (t5-small) is stored.

Indexing

Locally in the browser, using a t5-small bi-encoder, and some parsing of documents happens in wasm.

Search

Query converted to embedding, then searched over index, atlast results are reranked with a t5-small based cross encoder, and top results go through a seq-to-seq transformer to produce a nice consise textual answer.

comment 3y ago · link · parent

you forgot the most important one: haystack.it!

I would argue that every known noun are the first domains to get registered. My goal is to associate workplace search engines with haystack.

28.

Show HN: I built Haystack – your own google for scattered workplace knowledge(haystack.it ↗)

96 points · by _vxw6 · 3y ago · 67 comments

comment 3y ago · link · parent

What was the name of your product hmu hey@haystack.it, would love to learn from your experience.

It's self-hostable, doesn't store your data, more focused on developers and bottom up motions, I want you to be up and running within 10 seconds.

12