File size: 271 Bytes
1a20a59
 
 
 
 
 
2fafc94
 
646f8c2
2fafc94
 
1a20a59
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""
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