File size: 257 Bytes
2fafc94
 
 
646f8c2
2fafc94
 
 
 
1
2
3
4
5
6
7
8
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