Spaces:
Sleeping
Sleeping
saptharishi
commited on
Commit
•
3a6b9c4
1
Parent(s):
9776ae1
Update Ingest.py
Browse files
Ingest.py
CHANGED
@@ -11,7 +11,7 @@ texts = text_splitter.split_documents(documents)
|
|
11 |
|
12 |
embedings = HuggingFaceEmbeddings(model_name="nomic-ai/nomic-embed-text-v1",model_kwargs={"trust_remote_code":True,"revision":"289f532e14dbbbd5a04753fa58739e9ba766f3c7"})
|
13 |
|
14 |
-
# Creates vector
|
15 |
faiss_db = FAISS.from_documents(texts, embedings)
|
16 |
|
17 |
# Saves and export the vector embeddings databse
|
|
|
11 |
|
12 |
embedings = HuggingFaceEmbeddings(model_name="nomic-ai/nomic-embed-text-v1",model_kwargs={"trust_remote_code":True,"revision":"289f532e14dbbbd5a04753fa58739e9ba766f3c7"})
|
13 |
|
14 |
+
# Creates vector embeddingsl and saves it in the FAISS DB
|
15 |
faiss_db = FAISS.from_documents(texts, embedings)
|
16 |
|
17 |
# Saves and export the vector embeddings databse
|