79313514

Date: 2024-12-28 09:33:51
Score: 1.5
Natty:
Report link

The second parameter of the FAISS.from_embeddings is an Embeddings object that is in charge of the embedding. If you want to use your own function, you could wrap it inside a class inheriting from the Embbedings abstract class (cf. this page and the linked source code)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: rehaqds