| from langchain.vectorstores import Chroma, FAISS | |
| def get_faiss_vectorestore(embeddings): | |
| # Add extra text to ini | |
| texts = ["LISA - Lithium Ion Solid-state Assistant"] | |
| vectorstore = FAISS.from_texts(texts, embeddings) | |
| return vectorstore |
| from langchain.vectorstores import Chroma, FAISS | |
| def get_faiss_vectorestore(embeddings): | |
| # Add extra text to ini | |
| texts = ["LISA - Lithium Ion Solid-state Assistant"] | |
| vectorstore = FAISS.from_texts(texts, embeddings) | |
| return vectorstore |