An open API service indexing awesome lists of open source software.

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.

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