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