aelitta commited on
Commit
a9ed59a
1 Parent(s): 8580980

Update ingest.py

Browse files
Files changed (1) hide show
  1. ingest.py +3 -0
ingest.py CHANGED
@@ -14,6 +14,9 @@ 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 = Qdrant.from_documents(
18
  texts,
19
  embeddings,
 
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']:6333
19
+
20
  qdrant = Qdrant.from_documents(
21
  texts,
22
  embeddings,