Skip to content

deepanshululla/SemanticSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Search Using Vector Databases

Code and slides for the talk I gave on this topic. Here is the presentation

It has two notebooks:

Notebook with Detailed Theory

Notebook with hands on Code

About

Semantic Search is a project that implements an advanced search functionality using natural language processing and semantic similarity techniques. It enables users to input queries in a human-like manner and retrieve relevant search results based on the semantic meaning of the query.

This project aims to improve the search experience by going beyond traditional keyword-based searches and providing more accurate and contextually relevant results.

This uses Open AI so you have to create an OpenAI Key.

Installation

To run the Semantic Search project locally, follow these steps:

  1. Clone the repository:
gh repo clone deepanshululla/SemanticSearch
cd SemanticSearch
  1. Install the required dependencies:
conda env create -f environment.yml
  1. Run Docker-compose up for elasticsearch
docker-compose up -d
  1. Create a file called openai in secrets folder.
❯ ls secret
openai
  1. Paste your OpenAI key into the openai file.

  2. You may also need to setup kaggle key download the dataset from kaggle.

Usage

  1. Start the Jupyter notebook server:
jupyter noptebook .

Technologies Used

  • Python
  • Gradio (for the web interface)
  • Hugging Face Transformers (for NLP models)
  • Langchain
  • chromio
  • ElasticSearch

About

Code and Slides for the talk I gave on Semantic search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published