LISA-demo / vectorestores.py
Kadi-IAM's picture
Remove not used codes
646f8c2
raw
history blame
257 Bytes
from langchain.vectorstores import Chroma, 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