https://github.com/prateekmaj21/faiss_fastapi_project
An application that performs CRUD (Create, Read, Update, Delete) operations on a FAISS (Facebook AI Similarity Search) database using Python.
https://github.com/prateekmaj21/faiss_fastapi_project
database faiss fastapi python
Last synced: 2 months ago
JSON representation
An application that performs CRUD (Create, Read, Update, Delete) operations on a FAISS (Facebook AI Similarity Search) database using Python.
- Host: GitHub
- URL: https://github.com/prateekmaj21/faiss_fastapi_project
- Owner: prateekmaj21
- License: mit
- Created: 2024-07-13T10:36:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T07:04:41.000Z (almost 2 years ago)
- Last Synced: 2025-05-14T21:12:41.218Z (about 1 year ago)
- Topics: database, faiss, fastapi, python
- Language: Python
- Homepage:
- Size: 56.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Implementing CRUD Operations with FAISS and FastAPI:
FAISS (Facebook AI Similarity Search) is a library that allows developers to quickly search for embeddings of multimedia documents that are similar to each other.
Video Implementation: [Youtube](https://www.youtube.com/watch?v=4iSwOqPG-vs)
Check Project_Details document for more information.
#### Important:
- Create a Python module `faiss_crud.py` to manage the FAISS index and perform CRUD operations.
- main.py for the Main Application.
- pip install -r `requirements.txt`
#### Running Uvicorn Directly Using Python:
Ensure you are in the project directory:
cd (PATH)faiss_fastapi_project
python -m uvicorn main:app --reload
#### Setup Postman for CRUD Operations:
Postman is a software application that allows developers to test, document, and share APIs (Application Programming Interfaces).
#### Transformer Used:
https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2