LISA-demo / vectorestores.py
Kadi-IAM's picture
Clean code and add readme
1a20a59
raw
history blame contribute delete
271 Bytes
"""
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