TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Semantic search 85 pages in seconds in the browser

3 点作者 do-me大约 2 年前

1 comment

do-me大约 2 年前
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.