Skip to content

chinmay363/Vector_Based_Search_Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector_Based_Search_Engine

This project implements a CLI-based semantic search engine using:

  1. Python

  2. MySQL

  3. Sentence Transformers (MiniLM embeddings for cosine similarity)

  4. Database triggers, stored procedures, and functions

It supports semantic search, CRUD operations, auto-indexing, and SQL file change detection.

To run, first clone the repo:

git clone https://github.com/chinmay363/Vector_Based_Search_Engine.git

Install the required dependencies:

pip install -r requirements.txt 

Create a .env file in the project root in the following format with your database credentials:

DB_HOST=localhost
DB_USER=root
DB_PASSWORD=yourpassword
DB_NAME=search_engine

Start a local instance of a MySQL server on your system and run this in the terminal (enter your MySQL password if prompted):

mysql -u root -p < Search_Engine_db.sql

Run the python file:

python search_engine.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages