cd ./back/
pip install requirement.txt
python -m uvicorn src.main:app --reload
cd ./front/
npm install
ng serve
You can see the Swagger after starting the project at http://localhost:8000/docs
- Get all the articles from the RSS flux
- Get the embeding of the title from google's api
- Save the embeding and the article in a vector database faiss
- Get the embeding of the query from google's api
- Get the 3 closest vector from the database
- Return there metadata
To run the backend, you need to add your API key to the environment configuration file:
-
Open the file:
back/src/env.py -
Add your API key in the following format:
GEMINI_API_KEY = "YOUR_GOOGLE_API_KEY"
-
You can create and manage your API key at: https://aistudio.google.com/app/apikey
FAISS github
Obtenir des embedding de texte
Vectoring Words (Word Embeddings), Computerphile
Camembert model
Text embeddings & semantic search, HuggingFace
Feedparser documentation
RSS made easy, Growth origin
Public flux rss
VSD flux rss
@article{douze2024faiss,
title={The Faiss library},
author={Matthijs Douze and Alexandr Guzhva and Chengqi Deng and Jeff Johnson and Gergely Szilvasy and Pierre-Emmanuel Mazaré and Maria Lomeli and Lucas Hosseini and Hervé Jégou},
year={2024},
eprint={2401.08281},
archivePrefix={arXiv},
primaryClass={cs.LG}
}