Main goal of this tool is to make documents searchable using FAISS index. This application allows you to upload PDF files, parse their content, build a FAISS index based on the parsed content, and perform searches on the created index.
These instructions will help you set up and run the application on your local machine.
-
Clone this repository to your local machine: git clone https://github.com/sagarmk/vector_search_index.git
-
Navigate to the project directory: cd your-repository
-
Build the Docker image: make install
-
Start the application: make run
-
Open your web browser and access the application at:' http://localhost:8501
-
Upload one or more PDF files using the file uploader in the sidebar.
-
Enter a name for the new index and click the "Build and Save Index" button to parse the PDF files, build the index, and save it locally.
-
Select an existing index from the dropdown menu and click "Load Index" to load the selected index.
-
Enter a query in the text input field and click "Search" to perform a search on the loaded index.
-
The search results will be displayed as a list of paragraphs where the query was found.
This project is licensed under the MIT License. See the LICENSE file for details.