Skip to content

Accompanying source code for the article: How to build a Semantic Search Engine in Rust

Notifications You must be signed in to change notification settings

pierre-kci/semantic-search

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to build a Semantic Search Engine in Rust

Accompanying source code for the article https://sachaarbonel.medium.com/how-to-build-a-semantic-search-engine-in-rust-e96e6378cfd9

Getting Started

M1

cargo run --target x86_64-apple-darwin

Intel

cargo run

Next step

I wonder if such semantic search could be used to reduce errors caused by misleading names. For example: naming a class product and another one article. Basically if two classes are synonymous, i.e. semantically very close, they are potentially creating confusion within the source code. Today such semantic issues are often detected after the PR, at best, or after the incident in prod, at worst.

A first step to check for source code semantic coherence would be to extract a list of all the classes. Then scan these classes with your semantic tool and regroup classes with similar semantic scoring. Such result could be Would you be interested in exploring

About

Accompanying source code for the article: How to build a Semantic Search Engine in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%