LangChain - Embeddings and Vector Stores
Why does this code raise an error?
from langchain.vectorstores import FAISS from langchain.embeddings import OpenAIEmbeddings embeddings = OpenAIEmbeddings() texts = "This is a single string, not a list" vector_store = FAISS.from_texts(texts, embeddings)
