Spaces:
Runtime error
Runtime error
Update core/vector_store.py
Browse files- core/vector_store.py +1 -1
core/vector_store.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import os
|
| 2 |
from langchain_google_genai import GoogleGenerativeAIEmbeddings
|
| 3 |
from langchain_community.vectorstores import FAISS
|
| 4 |
-
from
|
| 5 |
|
| 6 |
def create_or_load_vectorstore(text_chunks):
|
| 7 |
embeddings = GoogleGenerativeAIEmbeddings(
|
|
|
|
| 1 |
import os
|
| 2 |
from langchain_google_genai import GoogleGenerativeAIEmbeddings
|
| 3 |
from langchain_community.vectorstores import FAISS
|
| 4 |
+
from langchain_core.documents import Document
|
| 5 |
|
| 6 |
def create_or_load_vectorstore(text_chunks):
|
| 7 |
embeddings = GoogleGenerativeAIEmbeddings(
|