aelitta commited on
Commit
22c5e48
1 Parent(s): 4f24ad1

Update ingest.py

Browse files
Files changed (1) hide show
  1. ingest.py +3 -3
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://0.0.0.0: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,
 
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,