filmov
tv
Semantic search in browser

Показать описание
Here's how semantic search was implemented in a small open source project that became a code review assistance tool:
Locate and download resources (in this case, Markdown files)
Calculate embeddings for each coding rule
Since the knowledge base is small, we can save the embeddings in the browser's localStorage to avoid unnecessary recalculations
Calculate the embeddings for the search query and find the best matches
Full project available here as open-source:
Chrome Extension here:
Locate and download resources (in this case, Markdown files)
Calculate embeddings for each coding rule
Since the knowledge base is small, we can save the embeddings in the browser's localStorage to avoid unnecessary recalculations
Calculate the embeddings for the search query and find the best matches
Full project available here as open-source:
Chrome Extension here: