TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Semantic search 85 pages in seconds in the browser

3 pointsby do-meabout 2 years ago

1 comment

do-meabout 2 years ago
SemanticFinder now offers an easier way of pre-indexing files. Just like in all ML-flows the embedding calculation is the computation-intense part, so if you do this beforehand and load it in your browser, calculating cosine similarity is trivial (for a few thousand iterations).<p>It has the nice side-effect that this also allows for external computation of embeddings where you might have faster hardware than you&#x27;re client device.<p>One could add so many features like adding full-text search by checking if the index contains certain keywords.<p>GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;do-me&#x2F;SemanticFinder">https:&#x2F;&#x2F;github.com&#x2F;do-me&#x2F;SemanticFinder</a><p>In a way, your browser can become the vector DB.