in src/text_clustering.py [0:0]
def build_faiss_index(self, embeddings): index = faiss.IndexFlatL2(embeddings.shape[1]) index.add(embeddings) return index