Spaces:
Runtime error
Runtime error
Update ingest.py
Browse files
ingest.py
CHANGED
@@ -13,9 +13,9 @@ documents = loader.load()
|
|
13 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=700, chunk_overlap=70)
|
14 |
texts = text_splitter.split_documents(documents)
|
15 |
|
16 |
-
url = "http://
|
17 |
-
qdrant_api_key = os.environ['QDRANT_API_KEY']
|
18 |
-
url = os.environ['QDRANT_URL']
|
19 |
|
20 |
qdrant = Qdrant.from_documents(
|
21 |
texts,
|
|
|
13 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=700, chunk_overlap=70)
|
14 |
texts = text_splitter.split_documents(documents)
|
15 |
|
16 |
+
url = "http://127.0.0.1:6333" # This is the same URL that must match Step 4d
|
17 |
+
#qdrant_api_key = os.environ['QDRANT_API_KEY']
|
18 |
+
#url = os.environ['QDRANT_URL']
|
19 |
|
20 |
qdrant = Qdrant.from_documents(
|
21 |
texts,
|