Skip to content

shashankk204/semantic-search-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Search Demo

  • To use a local Llama model switch to 'local' branch of this repository

  • Create a consume folder in the project base directory and place the PDF files in the directory.
  • Create a .env file -
# not required for local model
HUGGINGFACEHUB_API_TOKEN=_______

# URL for embeddings endpoint of the local model e.g. - http://100.105.38.57:3001/v1/embeddings
EMBEDDINGS_URL=_______
  • Create virtual environment and install requirements
$ python -m venv venv
$ source /venv/bin/activate
$ pip install -r requirements.txt
  • Execute the main.py file

About

Trying out different methods to perform semantic search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%