This project illustrates how to use FastAPI with PGVector (PostgreSQL plugin for vector search) and SentenceTransformers models to carry out semantic search tasks. Some fake articles are used, but this can be applied to any kind of text media.
- Setup Fastapi (Done)
- Add Semantic Search endpoint (Done)
- CRUD for articles (Done)
- Docker image for python app (Next).
- Setup Tests with Docker Compose and TestDB (Next)
- Add custom score function to compare embeddings from user query to article's title, excerpt and body (Next)