README.md
This project demonstrates how to build the custom-based VectorStore class implemented from scratch to find similar sentences.
The project aims to implement a VectorStore class that can be used to effectively find similar sentences based on the Cosine Similarity Score. This involves implementing techniques for representing sentences as vectors, indexing those vectors in the custom VectorStore, and efficiently searching for similar vectors based on their meaning.
- main.py: Contains the VectorStore class definition.
- app.py: Demonstrates using the VectorStore class for sentence similarity search.
Query sentence: Mango is the best fruit.
Similar sentences:
mango is my favorite fruit.: Similarity = 0.8165
I eat mangoes.: Similarity = 0.7071
- VectorStore Class: Provides efficient storage and retrieval of vectors, optimized for similarity search.
- Text Vectorization: Converts sentences into numerical vectors representing their semantic content.
- Cosine Similarity: Measures the similarity between vectors.